Module

Web.Worker.SharedWorkerGlobalScope

Package
purescript-web-workers
Repository
purescript-web/purescript-web-workers

#close Source

close :: Effect Unit

upon calling close, any queued tasks present in the event loop are discarded and the web worker scope is closed.

Re-exports from Web.Worker.GlobalScope

#onUnhandledRejection Source

#onRejectionHandled Source

#onLanguageChange Source

#onError Source

onError :: (Event -> Effect Unit) -> Effect Unit

fired when an error occurs in the worker