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

lib: refactor transferable AbortSignal #43388

Closed

Commits on Jun 12, 2022

  1. lib: refactor transferable AbortSignal

    The use of makeTransferable on all AbortSignal instances made creating them always slow,
    causing bottlenecks in stuff like Web Streams. This refactors that so that AbortSignals
    are not transferable by default, which is actually the correct standard behavior anyway.
    A new transferableAbortSignal and transferableAbortController utility is provided to
    enable the transferable use case.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    jasnell committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    6c8fa6e View commit details
    Browse the repository at this point in the history