async-bulkhead-llm - v3.17.0
    Preparing search index...

    Type Alias LLMDrainResult

    Result of drain({ timeoutMs }) (v3.8).

    drained: true means all in-flight work and pending waiters completed within the deadline (inFlight/pending are then 0). drained: false means the deadline elapsed first; inFlight and pending report what was still outstanding at that moment. inFlight includes token-holding LLM admissions whose borrowed local concurrency slot has already been abandoned but whose token has not been released.

    type LLMDrainResult = {
        drained: boolean;
        inFlight: number;
        pending: number;
    }
    Index
    drained: boolean
    inFlight: number
    pending: number