@polargold/pg-frontend-core
    Preparing search index...

    Interface DebouncedIdBufferOptions

    interface DebouncedIdBufferOptions {
        maxWait: number;
        wait: number;
    }
    Index
    maxWait: number

    Upper bound on how long a steady stream of enqueue() calls can keep postponing the batch - without this, a continuous run of calls spaced closer together than wait would never flush at all.

    wait: number

    Milliseconds of inactivity before a batch is sent.