mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-23 18:12:38 +03:00
.. | ||
src | ||
tests | ||
Cargo.toml | ||
README.md |
wasm-bindgen-futures
This crate bridges the gap between a Rust Future
and a JavaScript
Promise
. It provides two conversions:
- From a JavaScript
Promise
into a RustFuture
. - From a Rust
Future
into a JavaScriptPromise
.
See the API documentation for more info.