Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- fetch :: (MonadDOM m, IsWorkerGlobalScope self, ToJSVal input) => self -> input -> Maybe RequestInit -> m Response
- fetch_ :: (MonadDOM m, IsWorkerGlobalScope self, ToJSVal input) => self -> input -> Maybe RequestInit -> m ()
- close :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m ()
- importScripts :: (MonadDOM m, IsWorkerGlobalScope self, ToJSString urls) => self -> [urls] -> m ()
- getIndexedDB :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m IDBFactory
- getSelf :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m WorkerGlobalScope
- getLocation :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m WorkerLocation
- error :: (IsWorkerGlobalScope self, IsEventTarget self) => EventName self UIEvent
- offline :: (IsWorkerGlobalScope self, IsEventTarget self) => EventName self Event
- online :: (IsWorkerGlobalScope self, IsEventTarget self) => EventName self Event
- getNavigator :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m WorkerNavigator
- newtype WorkerGlobalScope = WorkerGlobalScope {}
- gTypeWorkerGlobalScope :: JSM GType
- class (IsEventTarget o, IsWindowOrWorkerGlobalScope o, IsGlobalPerformance o, IsGlobalCrypto o, IsGObject o) => IsWorkerGlobalScope o
- toWorkerGlobalScope :: IsWorkerGlobalScope o => o -> WorkerGlobalScope
Documentation
fetch :: (MonadDOM m, IsWorkerGlobalScope self, ToJSVal input) => self -> input -> Maybe RequestInit -> m Response Source #
fetch_ :: (MonadDOM m, IsWorkerGlobalScope self, ToJSVal input) => self -> input -> Maybe RequestInit -> m () Source #
close :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m () Source #
importScripts :: (MonadDOM m, IsWorkerGlobalScope self, ToJSString urls) => self -> [urls] -> m () Source #
getIndexedDB :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m IDBFactory Source #
getSelf :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m WorkerGlobalScope Source #
getLocation :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m WorkerLocation Source #
error :: (IsWorkerGlobalScope self, IsEventTarget self) => EventName self UIEvent Source #
offline :: (IsWorkerGlobalScope self, IsEventTarget self) => EventName self Event Source #
online :: (IsWorkerGlobalScope self, IsEventTarget self) => EventName self Event Source #
getNavigator :: (MonadDOM m, IsWorkerGlobalScope self) => self -> m WorkerNavigator Source #
newtype WorkerGlobalScope Source #
Functions for this inteface are in JSDOM.WorkerGlobalScope. Base interface functions are in:
Instances
class (IsEventTarget o, IsWindowOrWorkerGlobalScope o, IsGlobalPerformance o, IsGlobalCrypto o, IsGObject o) => IsWorkerGlobalScope o Source #
Instances
IsWorkerGlobalScope WorkerGlobalScope Source # | |
Defined in JSDOM.Types | |
IsWorkerGlobalScope DedicatedWorkerGlobalScope Source # | |
Defined in JSDOM.Types |
toWorkerGlobalScope :: IsWorkerGlobalScope o => o -> WorkerGlobalScope Source #