Type Definition wasmtime_wasi_http::poll::Pollable
source · pub type Pollable = u32;
Expand description
A “pollable” handle.
This is conceptually represents a stream<_, _>
, or in other words,
a stream that one can wait on, repeatedly, but which does not itself
produce any data. It’s temporary scaffolding until component-model’s
async features are ready.
And at present, it is a u32
instead of being an actual handle, until
the wit-bindgen implementation of handles and resources is ready.
pollable
lifetimes are not automatically managed. Users must ensure
that they do not outlive the resource they reference.
This represents a resource.