Module
Aff.Workers.Service  
- Package
- purescript-workers
- Repository
- truqu/purescript-workers
#getRegistration Source
getRegistration :: forall e. Maybe String -> Aff (worker :: WORKER | e) (Maybe Registration)#register' Source
register' :: forall e. String -> RegistrationOptions -> Aff (worker :: WORKER | e) Registration#installing Source
installing :: Registration -> Maybe Service#scope Source
scope :: Registration -> String#unregister Source
unregister :: forall e. Registration -> Aff (worker :: WORKER | e) Boolean#onUpdateFound Source
onUpdateFound :: forall e' e. Registration -> Eff e' Unit -> Aff (worker :: WORKER | e) UnitRe-exports from Aff.Workers 
#postMessage' Source
postMessage' :: forall channel transfer msg e. Channel channel => channel -> msg -> Array transfer -> Aff (exception :: EXCEPTION, worker :: WORKER | e) UnitClones message and transmits it to the port object associated with dedicatedportGlobal.transfer can be passed as a list of objects that are to be transferred rather than cloned.
Re-exports from Workers.Service 
#RegistrationOptions Source
type RegistrationOptions = { scope :: String, workerType :: WorkerType }#Registration Source
data Registration :: Type- Modules
- Aff.ApplicationCache 
- Aff.MessagePort 
- Aff.Workers 
- Aff.Workers. Dedicated 
- Aff.Workers. Service 
- Aff.Workers. Shared 
- ApplicationCache
- Cache
- Fetch
- GlobalScope
- GlobalScope.Dedicated 
- GlobalScope.Service 
- GlobalScope.Shared 
- MessagePort
- Workers
- Workers.Class 
- Workers.Dedicated 
- Workers.Service 
- Workers.Shared