wasm-bindgen/crates/futures
Nick Fitzgerald 170f20e1fd futures: Add more documentation and example usage
Adds an example future that becomes ready on the next tick of the JavaScript
micro task queue.

Part of #614
2018-08-08 17:44:38 -07:00
..
src futures: Add more documentation and example usage 2018-08-08 17:44:38 -07:00
Cargo.toml Support asynchronous tests (#600) 2018-08-01 15:52:24 -05:00
README.md futures: Add more documentation and example usage 2018-08-08 17:44:38 -07:00

wasm-bindgen-futures

API Documention

This crate bridges the gap between a Rust Future and a JavaScript Promise. It provides two conversions:

  1. From a JavaScript Promise into a Rust Future.
  2. From a Rust Future into a JavaScript Promise.

See the API documentation for more info.