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§

Reactor
Manage async system resources for WASI 0.2

Functions§

block_on
Start the event loop