Function cargo_test_support::threaded_timeout
source ยท pub fn threaded_timeout<F, R>(n: u32, f: F) -> R
Expand description
Helper that runs some function, and waits up to n
tenths of a second for
it to finish.
pub fn threaded_timeout<F, R>(n: u32, f: F) -> R
Helper that runs some function, and waits up to n
tenths of a second for
it to finish.