wasm-bindgen-futures
This crate bridges the gap between a Rust Future
and a JavaScript Promise
. It provides two conversions:
Promise
into a Rust Future
.Future
into a JavaScript Promise
.Additionally under the feature flag futures-core-03-stream
there is experimental support for AsyncIterator
to Stream
conversion.
See the API documentation for more info.