From 487aac29f13dfcb94fa4d5e881b6bc41e8b3dddf Mon Sep 17 00:00:00 2001 From: Yash Ladha Date: Wed, 26 Jan 2022 15:49:22 +0530 Subject: [PATCH] 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. --- doc/api/deprecations.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 4cb8606c1f6615..173df393323515 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -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` + + + +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