DEP0161:process._getActiveRequests() 和 process._getActiveHandles()


【DEP0161: process._getActiveRequests() and process._getActiveHandles()

类型:仅文档

【Type: Documentation-only】

process._getActiveHandles()process._getActiveRequests() 函数不适合公开使用,未来版本可能会被移除。

【The process._getActiveHandles() and process._getActiveRequests() functions are not intended for public use and can be removed in future releases.】

使用 process.getActiveResourcesInfo() 获取活动资源类型的列表,而不是实际引用。

【Use process.getActiveResourcesInfo() to get a list of types of active resources and not the actual references.】