Waits for a worker to catch up to a generation, sharing one sync round
per worker among readers, round after round, until it has or
workers.readBarrierTimeoutMs has passed.
Resolves on every path and never rejects. false means the worker is
still behind: the caller REFUSES the request (STS-WORKER-0053) and does not
serve it from what that worker has.
Parameters
entry: any
the worker's table entry
wanted: any
the generation it must reach
stillWanted: any
optional; asked between rounds, and a false answer
(the client went away) ends the wait at once, resolving false
Waits for a worker to catch up to a generation, sharing one sync round per worker among readers, round after round, until it has or
workers.readBarrierTimeoutMshas passed.Resolves on every path and never rejects.
falsemeans the worker is still behind: the caller REFUSES the request (STS-WORKER-0053) and does not serve it from what that worker has.