Skip to main content

block_on

Function block_on 

Source
pub fn block_on<F>(handle: &Handle, future: F) -> F::Output
where F: Future,
Expand description

在 Iris 运行时句柄上阻塞执行一个异步任务。