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

async_hooks: add thisArg to AsyncResource.bind #36782

Closed
wants to merge 1 commit into from

Commits on Jan 6, 2021

  1. async_hooks: add thisArg to AsyncResource.bind

    Semver-major
    
    Support setting the `thisArg` for AsyncResource.bind and
    AsyncResource.prototype.bind. If `thisArg` is not set,
    then `this` will be set to the `AsyncResource` instance.
    
    Fixes: nodejs#36051
    Signed-off-by: James M Snell <[email protected]>
    jasnell committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    25d1319 View commit details
    Browse the repository at this point in the history