schell / mogwai

The minimalist, obvious, graphical, web application interface
429 stars 26 forks source link

Define `Transmitter::send_async` separately for non-wasm32 architecture #53

Closed bryanjswift closed 4 years ago

bryanjswift commented 4 years ago

The wasm32 architecture relies on wasm_bindgen_futures which is only available for the wasm32 target_arch, non-wasm32 uses futures to block until the Future completes and then sends the result.

Refs #52