Starts the given task on the given worker. Resolves the task when the computation succeeds, rejects it otherwise. The task is resolved when the computation has succeeded or is rejected if the computation failed
the task to run on the given worker
the worker to use to execute the task
Schedules the tasks in the queue onto the available workers. A new worker is spawned when no more idle workers are available and the number of workers has not yet reached the concurrency limit. If no more idle workers are available and the concurrency limit has been reached then the tasks are left in queue.
Generated using TypeDoc
Default thread pool implementation that processes the scheduled functions in FIFO order.