Constructor
new Factory()
A small factory to create worker
- Since
- 1.25.0
- Copyright
- schukai GmbH
- License
- AGPLv3
Members
createFromScript
Creates a worker from a script
.Creates a worker from a script
createFromURL
Creates a worker from a URL
.Creates a worker from a URL
Methods
terminate(worker) → {Monster.DOM.Worker.Factory}
Terminate the worker and call revokeObjectURL if necessary.
Terminate the worker and call revokeObjectURL if necessary.
Parameters:
Name | Type | Description |
---|---|---|
worker |
Returns: