iya-sts
    Preparing search index...
    flushThrough: (target: any, since: any) => any = flushThrough

    Type Declaration

      • (target: any, since: any): any
      • Makes sure the writes up to a generation are in the store.

        Answers at once when already committed, returns the earliest covering save when one is in flight or waiting to be sent, and otherwise calls flush() — in each case together with every older save still out that took after since, because those hold the caller's earlier writes.

        Parameters

        • target: any

          the generation to cover

        • since: any

          the generation when the caller's work arrived; a save taken at or below it is not waited for. Optional: 0 waits for every older save still out

        Returns any

        a promise of flush()'s answer, or the first failure among the saves waited for; error set means the write did not land