Skip to main content

block_on

Function block_on 

Source
pub fn block_on<Fut: Future>(fut: Fut) -> Fut::Output
Expand description

runs the future to completion on the current thread