Crate wasi_async_runtime
source ·Expand description
A single-threaded native runtime for WASI 0.2
The way to use this is to call [block_on
] to obtain an instance of
Reactor
. You can then share the reactor in code that needs it to insert
instances of
wasi::Pollable
.
This will automatically wait for the futures to resolve, and call the
necessary wakers to work.
Structs§
- Manage async system resources for WASI 0.2
Functions§
- Start the event loop