pub async fn spawn_io<Fut>(fut: Fut) -> Fut::OutputExpand description
Runs fut on the runtime registered by register_io_runtime if any,
otherwise awaits on the current thread
ยงPanic
Needs a IO runtime registered.
pub async fn spawn_io<Fut>(fut: Fut) -> Fut::OutputRuns fut on the runtime registered by register_io_runtime if any,
otherwise awaits on the current thread
Needs a IO runtime registered.