async_hooks.asyncWrapProviders


  • 返回值:一个将提供者类型映射到对应数字 ID 的映射。该映射包含可能由 async_hooks.init() 事件发出的所有事件类型。

此功能会抑制 process.binding('async_wrap').Providers 的弃用用法。 参见:DEP0111

【This feature suppresses the deprecated usage of process.binding('async_wrap').Providers. See: DEP0111