async_hooks.asyncWrapProviders


  • 返回:提供商类型到相应数字 ID 的映射。此映射包含 async_hooks.init() 事件可能触发的所有事件类型。

    ¥Returns: A map of provider types to the corresponding numeric id. This map contains all the event types that might be emitted by the async_hooks.init() event.

此特性禁止使用 process.binding('async_wrap').Providers。看:DEP0111

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