Function wasmer_wasix::syscalls::__asyncify_light
source ยท pub(crate) fn __asyncify_light<T, Fut>(
env: &WasiEnv,
timeout: Option<Duration>,
work: Fut,
) -> WasiResult<T>
Expand description
Asyncify takes the current thread and blocks on the async runtime associated with it thus allowed for asynchronous operations to execute. It has built in functionality to (optionally) timeout the IO, force exit the process, callback signals and pump synchronous IO engine