Agenda - v6.2.3
    Preparing search index...

    Interface DrainOptions

    Options for the drain() method

    interface DrainOptions {
        signal?: AbortSignal;
        timeout?: number;
    }
    Index

    Properties

    Properties

    signal?: AbortSignal

    AbortSignal to cancel the drain operation. When aborted, drain() will resolve immediately with the current state.

    timeout?: number

    Maximum time in milliseconds to wait for jobs to complete. If not specified, drain() will wait indefinitely.