FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[v22.x backport] process: add `process.ref()` and `process.unref()` methods by aduh95 · Pull Request #56571 · nodejs/node · GitHub

/ node Public

[v22.x backport] process: add process.ref() and process.unref() methods - #56571

Merged
aduh95 merged 3 commits into
nodejs:v22.x-stagingfrom
aduh95:backport-unref-ref
Feb 4, 2025
Merged

[v22.x backport] process: add process.ref() and process.unref() methods#56571
aduh95 merged 3 commits into
nodejs:v22.x-stagingfrom
aduh95:backport-unref-ref

Conversation

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/startup

nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. process Issues and PRs related to the process subsystem. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch. labels Jan 12, 2025
aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 3, 2025
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 3, 2025

Copy link
Copy Markdown
Collaborator

jasnell and others added 3 commits February 4, 2025 10:14
The `process.ref(...)` and `process.unref(...)` methods are intended
to replace the use of `ref()` and `unref()` methods defined directly
on individual API objects. The existing `ref()` and `unref()` methods
will be marked as legacy and won't be removed but new APIs should use
`process.ref()` and `process.unref()` instead.

Refs: nodejs#53266
PR-URL: nodejs#56400
Backport-PR-URL: nodejs#56571
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
PR-URL: nodejs#56517
Backport-PR-URL: nodejs#56571
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: nodejs#56552
Backport-PR-URL: nodejs#56571
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
aduh95 force-pushed the backport-unref-ref branch from 390e8fa to 6ad8990 Compare February 4, 2025 09:15
aduh95 merged commit 6ad8990 into nodejs:v22.x-staging Feb 4, 2025
aduh95 deleted the backport-unref-ref branch February 4, 2025 09:16
aduh95 pushed a commit that referenced this pull request Feb 6, 2025
The `process.ref(...)` and `process.unref(...)` methods are intended
to replace the use of `ref()` and `unref()` methods defined directly
on individual API objects. The existing `ref()` and `unref()` methods
will be marked as legacy and won't be removed but new APIs should use
`process.ref()` and `process.unref()` instead.

Refs: #53266
PR-URL: #56400
Backport-PR-URL: #56571
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
aduh95 added a commit that referenced this pull request Feb 6, 2025
PR-URL: #56517
Backport-PR-URL: #56571
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 added a commit that referenced this pull request Feb 6, 2025
PR-URL: #56552
Backport-PR-URL: #56571
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. process Issues and PRs related to the process subsystem. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL