fuchsia_async::test_support

Function run_test

Source
pub fn run_test<F, Fut, R>(test: F, threads: usize) -> R
where F: 'static + Sync + Fn(usize) -> Fut, Fut: 'static + Send + Future<Output = R>, R: MultithreadedTestResult,
Expand description

Runs a test in an executor, potentially repeatedly and concurrently