@newspapper/core
    Preparing search index...

    Interface ReaderSchedule

    interface ReaderSchedule {
        active: boolean;
        stop(): Promise<void>;
    }
    Index
    active: boolean

    False when the interval is 0: no timer was ever set.

    • Stop the loop: clears the pending timer, aborts the schedule's own run if one is in flight, and resolves once that run has settled. Safe to call more than once. Await it before closing the DB.

      Returns Promise<void>