GeezerVison is showing github.com — doc: deprecate notice for process methods · nodejs/node@326f545
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/deprecations.md +19Lines changed: 19 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3074,6 +3074,24 @@ Type: Documentation-only |
3074 | 3074 | This event was deprecated because it did not work with V8 promise combinators |
3075 | 3075 | which diminished its usefulness. |
3076 | 3076 |
|
| 3077 | +### DEP0161: `process._getActiveRequests()` and `process._getActiveHandles()` |
| 3078 | + |
| 3079 | +<!-- YAML |
| 3080 | +changes: |
| 3081 | + - version: REPLACEME |
| 3082 | + pr-url: https://github.com/nodejs/node/pull/41587 |
| 3083 | + description: Documentation-only deprecation. |
| 3084 | +--> |
| 3085 | + |
| 3086 | +Type: Documentation-only |
| 3087 | + |
| 3088 | +The `process._getActiveHandles()` and `process._getActiveRequests()` |
| 3089 | +functions are not intended for public use and can be removed in future |
| 3090 | +releases. |
| 3091 | + |
| 3092 | +Use [`process.getActiveResourcesInfo()`][] to get a list of types of active |
| 3093 | +resources and not the actual references. |
| 3094 | + |
3077 | 3095 | [Legacy URL API]: url.md#legacy-url-api |
3078 | 3096 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf |
3079 | 3097 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 |
@@ -3145,6 +3163,7 @@ which diminished its usefulness. |
3145 | 3163 | [`os.networkInterfaces()`]: os.md#osnetworkinterfaces |
3146 | 3164 | [`os.tmpdir()`]: os.md#ostmpdir |
3147 | 3165 | [`process.env`]: process.md#processenv |
| 3166 | +[`process.getActiveResourcesInfo()`]: process.md#processgetactiveresourcesinfo |
3148 | 3167 | [`process.mainModule`]: process.md#processmainmodule |
3149 | 3168 | [`punycode`]: punycode.md |
3150 | 3169 | [`readable.readableEnded`]: stream.md#readablereadableended |
|