A snapshot of one task-module pool's state, returned by
IWorkerPool.stats.
readonly
taskModule: string
The task-module specifier this pool executes.
readonly
workers: number
Workers currently alive in the pool.
readonly
busy: number
Workers currently executing a task.
readonly
queued: number
Tasks waiting in the pool's queue.
readonly
completed: number
Tasks completed successfully since the pool was created.
readonly
failed: number
Tasks failed (error, crash, or timeout) since the pool was created.