We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web MIDI support is made awkward in a couple of places by the browser's use of async/deferred callbacks:
Futures should, at least in theory, keep the API relatively sane (allowing you to write async code or to simply .wait() in traditional sync code)
async
.wait()
The wasm_bindgen_futures crate provides JsFuture, which looks like it should make this quite straightforward.
The text was updated successfully, but these errors were encountered:
If that is done, async not be the default/only way, the blocking way should still be possible.
Sorry, something went wrong.
No branches or pull requests
Web MIDI support is made awkward in a couple of places by the browser's use of async/deferred callbacks:
Futures should, at least in theory, keep the API relatively sane (allowing you to write
async
code or to simply.wait()
in traditional sync code)The wasm_bindgen_futures crate provides JsFuture, which looks like it should make this quite straightforward.
The text was updated successfully, but these errors were encountered: