Function tarantool::fiber::async::block_on

source ·
pub fn block_on<F: Future>(f: F) -> F::Output
Expand description

Runs a future to completion on the fiber-based runtime. This is the async runtime’s entry point.

This runs the given future on the current fiber, blocking until it is complete, and yielding its resolved result.

For examples see module level documentation in super::async.