fuchsia_async::test_support

Function run_until_stalled_test

Source
pub fn run_until_stalled_test<F, Fut, R>(fake_time: bool, test: F) -> R
where F: 'static + Sync + Fn(usize) -> Fut, Fut: 'static + Future<Output = R>, R: TestResult,
Expand description

Runs a test in an executor until it’s stalled