Skip to content
New issue

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

Implement extern "C" async functions. #2196

Merged
merged 2 commits into from
Jun 29, 2020

Commits on Jun 28, 2020

  1. Implement extern "C" async functions.

    It converts a JS Promise into a wasm_bindgen_futures::JsFuture that
    implements Future<Result<JsValue, JsValue>>.
    rodrigorc committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    98d7919 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2020

  1. Run rustfmt.

    Add #[rustfmt::skip] to the tests/wasm/futures.rs because it removes
    the async from extern "C" blocks.
    rodrigorc committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    480be5a View commit details
    Browse the repository at this point in the history