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.