Crate wasm_bindgen_futures

Bridging the gap between Rust Futures and JavaScript Promises.

This crate is now a thin shim re-exporting from js_sys::futures. The implementation has been moved into js-sys so that js_sys::Promise can implement core::future::IntoFuture directly, enabling promise.await without any wrapper type.

All public items (JsFuture, spawn_local, future_to_promise, future_to_promise_typed) are re-exported unchanged for backwards compatibility.

Modules

Structs

Functions