spin_executor

Function run

Source
pub fn run<T>(future: impl Future<Output = T>) -> T
Expand description

Run the specified future to completion blocking until it yields a result.

Based on an executor using wasi::io/poll/poll-list,