Setu-TS
    Preparing search index...

    Interface TaskPoolStats

    A snapshot of one task-module pool's state, returned by IWorkerPool.stats.

    0.1.0

    interface TaskPoolStats {
        busy: number;
        completed: number;
        failed: number;
        queued: number;
        taskModule: string;
        workers: number;
    }
    Index
    busy: number

    Workers currently executing a task.

    completed: number

    Tasks completed successfully since the pool was created.

    failed: number

    Tasks failed (error, crash, or timeout) since the pool was created.

    queued: number

    Tasks waiting in the pool's queue.

    taskModule: string

    The task-module specifier this pool executes.

    workers: number

    Workers currently alive in the pool.