Skip to content

Commit

Permalink
doc: deprecate notice for process methods
Browse files Browse the repository at this point in the history
Documentation of deprecation notice `_getActiveRequestsInfo` and
`_getActiveHandlesInfo` since they are internal usage and can be removed
in future releases.
  • Loading branch information
yashLadha committed Jan 26, 2022
1 parent ccb8aae commit 487aac2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3056,6 +3056,23 @@ This method was deprecated because it is not compatible with

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

### DEP0159: Deprecated `_getActiveRequestsInfo` and `_getActiveHandlesInfo`

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/41587
description: Documentation-only deprecation.
-->

Type: Documentation-only

The `process._getActiveHandlesInfo()` and `process._getActiveRequestsInfo()`
is not intended for public use and can be removed in future releases.

Use `process.getActiveResourcesInfo()` to get the list of handles and not
the actual references.

[Legacy URL API]: url.md#legacy-url-api
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
Expand Down

0 comments on commit 487aac2

Please sign in to comment.