iya-sts
    Preparing search index...

    Variable awaitCommitConfirmations

    awaitCommitConfirmations: (servedBy: any) => Promise<any> = awaitCommitConfirmations

    Type Declaration

      • (servedBy: any): Promise<any>
      • Waits until every write answered before now has been reported committed, bounded at two seconds.

        Resolves at once when read-your-write is off or nothing blocks; a timeout is logged and the read is served anyway.

        Parameters

        • servedBy: any

          the worker entry that will serve the read

        Returns Promise<any>

        a promise that resolves when the reader may go on