wasm-bindgen/crates/futures
2019-07-17 00:48:00 +03:00
..
src updated default timeout and wait_async signature in wasm-bindgen-futures 2019-07-17 00:48:00 +03:00
tests moved threadsafe futures behind a flag 2019-07-17 00:48:00 +03:00
Cargo.toml placed web-sys dependency behind a feature flag in wasm-bindgen-futures 2019-07-17 00:48:00 +03: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.