ruma / lb

Ruma wrapper for low-bandwidth matrix
MIT License
2 stars 0 forks source link

WASM + WS support #5

Open ShadowJonathan opened 2 years ago

ShadowJonathan commented 2 years ago

This is a bit of a dream for the future, but it would be amazing if this crate can support compiling to WASM, use WS through browser apis, and then provide Promise-based APIs for JS/TS consumption.


Resources;

https://lib.rs/crates/ws_stream_wasm

https://rustwasm.github.io/wasm-bindgen/reference/js-promises-and-rust-futures.html