Creates a new webworkers controller
Worker constructor
Name of the worker
OptionalmaxWorkers: numberWhether to ignore message received from workers
Maximum number of workers the controller can allocate
Returns whether all the worker are free
Frees all the workers
Frees the given worker
Returns whether the controller has free workers
Locks the given worker
Returns the next workerId available in the stack
Posts a message to the next available worker
Input message
Transferable objects
The id of the worker that handled the message
Posts a message to a specific worker
The id of the worker to use
Input message
Transferable objects
Reset controller workers
Stop jobs
Terminate a worker in the controller
Terminates all the workers in the controller
Controller for calling multiple webworkers asynchronously