iya-sts
    Preparing search index...

    Variable proxyAfterBarrier

    proxyAfterBarrier: (
        entry: any,
        req: any,
        res: any,
        wanted: any,
        ticket: any,
        timing: any,
        body: any,
    ) => Promise<void> = proxyAfterBarrier

    Type Declaration

      • (
            entry: any,
            req: any,
            res: any,
            wanted: any,
            ticket: any,
            timing: any,
            body: any,
        ): Promise<void>
      • Proxies a dispatched request once its worker has caught up, and refuses it once workers.readBarrierTimeoutMs has passed without (#2026-11-14's change: never served from what a behind worker has). A client that went away while it waited is handed to proxy(), which drops its ticket.

        Parameters

        • entry: any

          the worker's table entry

        • req: any

          the request

        • res: any

          the response

        • wanted: any

          the generation the worker must reach

        • ticket: any

          the request's read-barrier ticket

        • timing: any

          optional; the request's phase stamps (#820)

        • body: any

          optional; what was read of the body already (#820)

        Returns Promise<void>

        a promise that settles once the request was proxied or refused