Module async_runtime

Source
Expand description

Runtime to wrap over tokio current-thread Runtime and tokio-uring Runtime.

Enums§

Runtime
An adapter enum to support both tokio current-thread Runtime and tokio-uring Runtime.

Functions§

block_on
Run a future to completion with the default Runtime object.
spawn
Spawns a new asynchronous task with the defualt Runtime, returning a JoinHandle for it.
start
Start an async runtime.
with_runtime
Run a callback with the default Runtime object.