process: make getActive{Handles,Requests} official
Rebased version of https://github.com/nodejs/node/pull/18844
[Original message]
process._getActiveHandles() and process._getActiveRequests() have been around for a long time, and are utilized to a large enough degree that it makes sense to make them official APIs.
Fixes: #1128 (closed)
Checklist :
-
make -j4 test (UNIX), or vcbuild test (Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
- process