Skip to main content

move_executor_forward_and_get

Function move_executor_forward_and_get 

Source
pub fn move_executor_forward_and_get<T>(
    executor: &mut TestExecutor,
    future: impl Future<Output = T>,
    panic_msg: &str,
) -> T
Expand description

Run the provided future via the executor and return the result of the future.