mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 14:27:36 +03:00
170f20e1fd
Adds an example future that becomes ready on the next tick of the JavaScript micro task queue. Part of #614 |
||
---|---|---|
.. | ||
src | ||
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.