Skip to main content

Module request_tracker

Module request_tracker 

Source
Expand description

RequestTracker - mint correlation tokens for CorrelateTag and track in-flight wire requests.

7 token minter with an in_flight map keyed by wire_req_id. register_in_flight records the dispatch-time clock + target site + (optional) chain context; observe_response pops the entry on the matching response landing and surfaces the data the crate::framework::rtt_tracker::RttTracker needs to update its EMAs.

Structs§

InFlightSend
Bookkeeping for a wire round-trip in flight.
RequestTracker
Monotonically-increasing token minter + in-flight tracker.
RoundTripSample
Round-trip sample surfaced by RequestTracker::observe_response.