Expand description
Caller contract and result types for a fetch: Opts in, Outcome out.
Op selects the federation endpoint and folds into the single-flight
dedup key; FanoutGrowth schedules the staged fan-out width.
Structs§
- Opts
- Caller contract.
event_idis the sought datum forOp::Event/Op::AuthEvent/Op::AuthChain/Op::StateIdsand a reference point for the others. - Outcome
- Raw response body plus the server that answered.
bytesis ref-counted so concurrent callers coalesced onto one fetch share a single buffer.
Enums§
- Fanout
Growth - Per-round width schedule for staged fan-out: how many candidate servers a
fetch races concurrently in each escalation round, before the worker’s
per-round ceiling and remaining-budget clamps.
Fixed(1)(theOpts::newdefault) reproduces strictly-sequential attempts. - Op
- Federation endpoint a fetch targets. The dedup key folds this in, so two callers asking for the same event over different endpoints do not coalesce.
Type Aliases§
- Event
Window - Event-id window for the batch ops, inline-sized for the common single-prev case and spilling to the heap past that.