Module
Web.Worker.SharedWorker
- Package
- purescript-web-workers
- Repository
- purescript-web/purescript-web-workers
#new Source
new :: String -> WorkerOptions -> Effect SharedWorker
creates a worker object that executes the script at the specified URL.
#port Source
port :: SharedWorker -> Effect MessagePort
Re-exports from Web.Worker.Options
#WorkerOptions Source
type WorkerOptions = { name :: String, type :: WorkerType }