class WorkerQueueFullError
extends Error
Since 0.1.0

Thrown by run() when the pool's pending queue is at its bound, shedding the task instead of growing memory without limit.

Constructors

WorkerQueueFullError(
taskModule: string,
limit: number
)

Properties

readonly
limit: number

The configured queue bound.

readonly
taskModule: string

The task-module specifier whose pool queue is full.

Usage

import { WorkerQueueFullError } from "worker-pool-plugin/src/index.ts";