Create a new named Worker.
The named Worker to create
The created AsyncWorker which is ready to accept tasks
Get a currently active Worker by name.
The named Worker to retrieve
The AsyncWorker instance
Retire a current Worker, terminating it immediately.
The named worker to terminate
The currently active workforce.
Supported worker task actions
A client-side class responsible for managing a set of web workers. This interface is accessed as a singleton instance via game.workers.
Game#workers