Documentation
    Preparing search index...

    A queue that can stop starting new work, resume, and report when its in-flight work has finished. Prune uses this to quiesce every writer before it computes and executes its plan.

    interface PausableQueue {
        pause(): void;
        resume(): void;
        waitForIdleWorkers(): Promise<void>;
    }

    Implemented by

    Index