Expand description
The fetch worker loop: one task owning every in-flight fetch, lock-free.
Service::run_worker coalesces incoming requests, dispatches attempts up
to the capacity bound, defers the rest, and broadcasts each outcome to its
subscribers.
Functions§
- effective_
cap 🔒 - Effective ceiling combining an
optscap with a config sentinel, where aNoneopts value or a0config value means unbounded and the tighter wins.
Type Aliases§
- Fetch
Future 🔒 - One in-flight fetch, borrowing the worker for the service’s lifetime and yielding its key alongside the result so the worker can route it.
- Fetch
Futures 🔒