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

signal-neon-futures: Poll a future once before queuing it #283

Closed
wants to merge 1 commit into from

Commits on Apr 29, 2021

  1. signal-neon-futures: Poll a future once before queuing it

    Previously, when using the JavaScript context to run a Rust future,
    the future would be put into the event queue immediately, without
    starting it first. The new implementation runs the future
    synchronously to its first suspension point. There are pros and cons
    to each approach (and I left the "delayed start" version behind as
    `queue_future`), but in practice we're not worried about, say,
    blocking other work behind this one.
    jrose-signal committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    22adfcd View commit details
    Browse the repository at this point in the history