@pwngh/economy-lab
    Preparing search index...

    Type Alias CoalescerOptions

    type CoalescerOptions = {
        defer?: (flush: () => void) => void;
        maxBatch?: number;
    }
    Index
    defer?: (flush: () => void) => void

    Schedules the pending flush. The default, queueMicrotask, coalesces the calls of one event-loop turn — the same-burst case, with no added latency. A host that wants a wider window injects its own scheduler (e.g. a short timer) and buys more batching for a few milliseconds of delay.

    maxBatch?: number

    Largest batch one flush submits; a full queue flushes immediately. Default 16.