Module
Workers
- Package
- purescript-workers
- Repository
- truqu/purescript-workers
#Options Source
type Options = { name :: String, requestCredentials :: Credentials, workerType :: WorkerType }
#postMessage' Source
postMessage' :: forall channel transfer msg e. Channel channel => channel -> msg -> Array transfer -> Eff (exception :: EXCEPTION, worker :: WORKER | e) Unit
Clones message and transmits it to the port object associated with dedicatedWorker-Global.transfer can be passed as a list of objects that are to be transferred rather than cloned.