Skip to main content

without_flight_recorder

Function without_flight_recorder 

Source
pub fn without_flight_recorder<F: Future>(
    future: F,
) -> impl Future<Output = F::Output>
Expand description

Runs future without recording any events it emits while being polled, from any crate or target. Work the future hands to other spawned tasks is not covered.

Used by code that sends Flight Recorder events, so that events produced by the sending itself are not captured and sent again.