fuchsia_async::test_support

Function run_singlethreaded_test

Source
pub fn run_singlethreaded_test<F, Fut, R>(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, potentially repeatedly and concurrently