Skip to content

Commit 77a35e0

Browse files
committed
doc: deprecate notice for process methods
Documentation of deprecation notice `_getActiveRequestsInfo` and `_getActiveHandlesInfo` since they are internal usage and can be removed in future releases.
1 parent ccb8aae commit 77a35e0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/api/deprecations.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3056,6 +3056,23 @@ This method was deprecated because it is not compatible with
30563056

30573057
Use [`buffer.subarray`][] which does the same thing instead.
30583058

3059+
### DEP0159: Deprecated `_getActiveRequestsInfo` and `_getActiveHandlesInfo`
3060+
3061+
<!-- YAML
3062+
changes:
3063+
- version: REPLACEME
3064+
pr-url: https://github.com/nodejs/node/pull/41587
3065+
description: Documentation-only deprecation.
3066+
-->
3067+
3068+
Type: Documentation-only
3069+
3070+
The `process._getActiveHandlesInfo` and `process._getActiveRequestsInfo`
3071+
is not intended for public use and can be removed in future releases.
3072+
3073+
Use `process.getActiveResourcesInfo` to get the list of handles and not
3074+
the actual references.
3075+
30593076
[Legacy URL API]: url.md#legacy-url-api
30603077
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
30613078
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3

0 commit comments

Comments
 (0)