◐ Shell
clean mode source ↗

async_hooks: add hook to stop propagation by Flarna · Pull Request #45386 · nodejs/node

Add hook to AsyncLocalStorage to allow user to stop propagation.
This is needed to avoid leaking a store if e.g. the store indicates
that its operations are finished or it reached its time to live.

@nodejs-github-bot added async_hooks

Issues and PRs related to the async hooks subsystem.

needs-ci

PRs that need a full CI run.

labels

Nov 9, 2022

@Flarna

Flarna

@Flarna Flarna added the semver-minor

PRs that contain new features and should be released in the next minor version.

label

Nov 9, 2022

@Flarna

@Flarna Flarna added the commit-queue-squash

Add this label to instruct the Commit Queue to squash all the PR commits into the first one.

label

Nov 9, 2022

tony-go

Qard

Qard approved these changes Nov 10, 2022

JungMinu

legendecas

Co-authored-by: Chengzhong Wu <legendecas@gmail.com>

@Flarna Flarna added author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

request-ci

Add this label to start a Jenkins CI on a PR.

labels

Nov 14, 2022

legendecas

@Flarna Flarna added the commit-queue

Add this label to land a pull request using GitHub Actions.

label

Nov 15, 2022

ruyadorno pushed a commit that referenced this pull request

Nov 21, 2022
Add hook to AsyncLocalStorage to allow user to stop propagation.
This is needed to avoid leaking a store if e.g. the store indicates
that its operations are finished or it reached its time to live.

PR-URL: #45386
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>

danielleadams pushed a commit that referenced this pull request

Dec 30, 2022
Add hook to AsyncLocalStorage to allow user to stop propagation.
This is needed to avoid leaking a store if e.g. the store indicates
that its operations are finished or it reached its time to live.

PR-URL: #45386
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>

danielleadams pushed a commit that referenced this pull request

Dec 30, 2022
Add hook to AsyncLocalStorage to allow user to stop propagation.
This is needed to avoid leaking a store if e.g. the store indicates
that its operations are finished or it reached its time to live.

PR-URL: #45386
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>

danielleadams pushed a commit that referenced this pull request

Jan 3, 2023
Add hook to AsyncLocalStorage to allow user to stop propagation.
This is needed to avoid leaking a store if e.g. the store indicates
that its operations are finished or it reached its time to live.

PR-URL: #45386
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>

danielleadams pushed a commit that referenced this pull request

Jan 4, 2023
Add hook to AsyncLocalStorage to allow user to stop propagation.
This is needed to avoid leaking a store if e.g. the store indicates
that its operations are finished or it reached its time to live.

PR-URL: #45386
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>