@schie/queue - v1.0.0
    Preparing search index...

    Interface QueueOptions

    Configuration options for a Queue instance.

    QueueOptions

    interface QueueOptions {
        onStatusChange?: (status: QueueStatus) => void;
        pauseOnError?: boolean;
    }
    Index

    Properties

    onStatusChange?: (status: QueueStatus) => void

    Optional callback function that is invoked whenever the queue's status changes. The callback receives the new status as a parameter.

    pauseOnError?: boolean

    Optional flag that determines whether the queue should pause processing when an error occurs. If set to true, the queue will pause on error; otherwise, it will continue processing. Defaults to false if not specified.