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

worker: add ability to unshift message from MessagePort #27294

Closed
wants to merge 1 commit into from

Commits on May 19, 2019

  1. worker: add ability to unshift message from MessagePort

    In combination with Atomics, this makes it possible to implement
    generic synchronous functionality, e.g. `importScript()`, in Workers
    purely by communicating with other threads.
    
    This is a continuation of nodejs#26686,
    where a preference for a solution was voiced that allowed reading
    individual messages, rather than emitting all messages through events.
    addaleax committed May 19, 2019
    Configuration menu
    Copy the full SHA
    8bd751a View commit details
    Browse the repository at this point in the history