priority-scheduler-queue
    Preparing search index...

    Interface SchedulerOptions

    Options that control PriorityQueueFifo behavior.

    interface SchedulerOptions {
        defaultPriority?: number;
        maxConcurrency?: number;
        maxQueueSize?: number;
    }
    Index

    Properties

    defaultPriority?: number

    Default priority for tasks if not specified. Higher means sooner.

    0

    maxConcurrency?: number

    Maximum number of tasks to run concurrently.

    os.cpus().length

    maxQueueSize?: number

    Maximum number of tasks allowed in the queue. When exceeded, add() rejects.

    Infinity