iya-sts
    Preparing search index...
    deferUntilCommitted: (
        check: (state: { committed: boolean }) => Promise<string>,
    ) => boolean = deferUntilCommitted

    Type Declaration

      • (check: (state: { committed: boolean }) => Promise<string>): boolean
      • Hands a check to the response this code is running for, to be run after that response's commit and before it is sent. The check is called once, with { committed } (false when the response's own commit failed or the response closed unsent), and answers a promise of '' or null to let the response go, or a reason to refuse it 503 (STS-CLUSTER-0166).

        Parameters

        • check: (state: { committed: boolean }) => Promise<string>

        Returns boolean

        true when a held response took it; false when the caller must settle what it wrote itself