Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newWorker :: (MonadDOM m, ToJSString scriptUrl) => scriptUrl -> m Worker
- terminate :: MonadDOM m => Worker -> m ()
- postMessage :: (MonadDOM m, ToJSVal message, IsGObject transfer) => Worker -> message -> [transfer] -> m ()
- message :: EventName Worker MessageEvent
- newtype Worker = Worker {}
- gTypeWorker :: JSM GType
Documentation
postMessage :: (MonadDOM m, ToJSVal message, IsGObject transfer) => Worker -> message -> [transfer] -> m () Source #
Functions for this inteface are in JSDOM.Worker. Base interface functions are in:
gTypeWorker :: JSM GType Source #