Function block_on

Source
pub fn block_on<F, Fut>(f: F) -> Fut::Output
where F: FnOnce(Reactor) -> Fut, Fut: Future,
Expand description

Start the event loop