Creates a new worker.
The path to the worker script file, can be relative or absolute path.
The file path that was used to create this worker.
Whether this worker is still valid. See destroy.
Maximum available workers per resource.
Destroys the worker and stops it.
Emits the specified event to the worker.
Unsubscribes from Worker event handler with specified listener.
Name of the event.
Listener that should be removed.
Listens to an event emitted by the worker.
The event to listen for.
The callback to call when the event is received.
Listens to an event emitted by the worker once.
The event to listen for.
The callback to call when the event is received.
Pauses execution of the worker.
Resumes execution of the worker.
Starts the worker script.
Adds a shared array buffer to the workers array buffer pool.
The shared array buffer to make available in workers.
The id of the shared array buffer that can be used in workers to retrieve it.
Removes the shared array buffer from the workers array buffer pool.
The id of the shared array buffer to remove.