iya-sts
    Preparing search index...
    flush: () => any = flush

    Type Declaration

      • (): any
      • Writes every journalled key to the store, sealed; deletes what is gone.

        One flush per key (#877): a call whose keys are already in a save waits, and a second save of any other keys may run beside it, at most two at a time. On failure the keys go back into the journal. Resolves rather than rejects.

        Returns any

        a promise of { written, upserts, deletes }, or { written: false } with error when nothing was written or the write failed