Function time_fn_call_async

Source
pub async fn time_fn_call_async<F, O>(f: F) -> (O, f64)
where F: Future<Output = O>,
Expand description

Time an async fn call. Duration is returned as a float in seconds.

OSZAR »