DEP0097:带有 domain 属性的 MakeCallback


【DEP0097: MakeCallback with domain property】

类型:运行时

【Type: Runtime】

使用 MakeCallback 并添加 domain 属性以携带上下文的用户,应开始使用 MakeCallbackasync_context 版本或 CallbackScope,或者使用高级的 AsyncResource 类。

【Users of MakeCallback that add the domain property to carry context, should start using the async_context variant of MakeCallback or CallbackScope, or the high-level AsyncResource class.】