Module
Web.Worker.Types
- Package
- purescript-web-workers
- Repository
- purescript-web/purescript-web-workers
#MessageEvent Source
data MessageEvent#MessagePort Source
data MessagePort#Transferable Source
data Transferable#IsSendable Source
class IsSendable (a :: Type) Instances
#wrap Source
wrap :: forall a b. Newtype a b => IsSendable b => a -> SendWrapper a#unwrap Source
unwrap :: forall a. SendWrapper a -> a#unsafeWrap Source
unsafeWrap :: forall a. a -> SendWrapper aUse with care. If you send something that isn't actually Sendable, it will raise an exception.