DEP0097:MakeCallback 具有 domain 属性
¥DEP0097: MakeCallback with domain property
类型:运行时
¥Type: Runtime
添加 domain 属性以承载上下文的 MakeCallback 用户应开始使用 MakeCallback 或 CallbackScope 的 async_context 变体,或高级 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.