run

Function run 

Source
pub fn run<B, F>(block_on: B, fut: F)
where B: FnOnce(F) -> <F as Future>::Output, F: Future<Output = ()>,
Expand description

Run the unit test with a given async runtime sequentially.