Skip to main content

fn.block_on

pub fn block_on<F: Future>(task: F) -> F::Output

Run a future to completion on runtime.