Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- postMessage :: (MonadDOM m, ToJSVal message, IsGObject transfer) => MessagePort -> message -> [transfer] -> m ()
- start :: MonadDOM m => MessagePort -> m ()
- close :: MonadDOM m => MessagePort -> m ()
- message :: EventName MessagePort MessageEvent
- newtype MessagePort = MessagePort {}
- gTypeMessagePort :: JSM GType
Documentation
postMessage :: (MonadDOM m, ToJSVal message, IsGObject transfer) => MessagePort -> message -> [transfer] -> m () Source #
start :: MonadDOM m => MessagePort -> m () Source #
close :: MonadDOM m => MessagePort -> m () Source #
newtype MessagePort Source #
Functions for this inteface are in JSDOM.MessagePort. Base interface functions are in:
Instances
PToJSVal MessagePort Source # | |
Defined in JSDOM.Types pToJSVal :: MessagePort -> JSVal # | |
PFromJSVal MessagePort Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MessagePort # | |
ToJSVal MessagePort Source # | |
Defined in JSDOM.Types toJSVal :: MessagePort -> JSM JSVal # toJSValListOf :: [MessagePort] -> JSM JSVal # | |
FromJSVal MessagePort Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MessagePort) # fromJSValUnchecked :: JSVal -> JSM MessagePort # fromJSValListOf :: JSVal -> JSM (Maybe [MessagePort]) # fromJSValUncheckedListOf :: JSVal -> JSM [MessagePort] # | |
MakeObject MessagePort Source # | |
Defined in JSDOM.Types makeObject :: MessagePort -> JSM Object # | |
IsEventTarget MessagePort Source # | |
Defined in JSDOM.Types | |
IsMessageEventSource MessagePort Source # | |
Defined in JSDOM.Types | |
IsGObject MessagePort Source # | |
Defined in JSDOM.Types typeGType :: MessagePort -> JSM GType |