The named parameters.
The optional name to give to the protocol.
Optionaloptions?: CWorkerOptionsOptions for further configuration of the worker. Defaults to a "module" type.
The receive handler for data and state changes.
The URL associated with the worker thread.
Creates an background worker to offload processing to a background thread.