oa_gateway_bench::scenarios

Function drain_until_quiet

Source
pub(crate) async fn drain_until_quiet(received: &AtomicU64)
Expand description

Waits until received stops increasing, or two seconds elapse.