Module

GlobalScope.Service

Package
purescript-workers
Repository
truqu/purescript-workers

#Clients Source

data Clients :: Type

#Client Source

data Client :: Type

Instances

#WindowClient Source

#ClientId Source

#ClientQueryOptions Source

type ClientQueryOptions = { clientType :: ClientType, includeUncontrolled :: Boolean }

#caches Source

caches :: forall e. Eff (worker :: WORKER | e) CacheStorage

#clients Source

clients :: forall e. Eff (worker :: WORKER | e) Clients

#registration Source

registration :: forall e. Eff (worker :: WORKER | e) Registration

#skipWaiting Source

skipWaiting :: forall e. Eff (worker :: WORKER | e) Unit

#onInstall Source

onInstall :: forall e' e. Aff e' Unit -> Eff (worker :: WORKER | e) Unit

#onActivate Source

onActivate :: forall e' e. Aff e' Unit -> Eff (worker :: WORKER | e) Unit

#onFetch Source

onFetch :: forall e'' e' e. (Request -> Aff e' (Maybe Response)) -> (Request -> Aff e'' Unit) -> Eff (worker :: WORKER | e) Unit

#onMessage Source

onMessage :: forall msg e' e. (ClientId -> msg -> Aff e' Unit) -> Eff (worker :: WORKER | e) Unit

#get Source

get :: forall e. Clients -> ClientId -> Aff (worker :: WORKER | e) (Maybe Client)

#matchAll Source

matchAll :: forall e. Clients -> Aff (worker :: WORKER | e) (Array Client)

#matchAll' Source

matchAll' :: forall e. Clients -> ClientQueryOptions -> Aff (worker :: WORKER | e) (Array Client)

#openWindow Source

openWindow :: forall e. Clients -> String -> Aff (worker :: WORKER | e) WindowClient

#claim Source

claim :: forall e. Clients -> Aff (worker :: WORKER | e) Unit

#focus Source

focus :: forall e. WindowClient -> Aff (worker :: WORKER | e) WindowClient

#navigate Source

navigate :: forall e. WindowClient -> String -> Aff (worker :: WORKER | e) WindowClient