Function block_on

Source
pub fn block_on<F: Future<Output = ()>>(_: F)
Expand description

Runs the provided future, blocking the current thread until the future completes.