bytebox - v1.0.0
    Preparing search index...

    Interface DrainResult

    What a drain did.

    interface DrainResult {
        drained: boolean;
        nextDue: number;
        pending: number;
        ran: number;
    }
    Index
    drained: boolean

    True when the queue emptied, false when a budget, a stall or a future due time stopped it.

    nextDue: number

    Milliseconds until the earliest queued fiber is due, or -1 when none are queued.

    pending: number

    Fibers still queued when the drain stopped.

    ran: number

    Fibers that ran.