Node.js async_hooks asyncResource.emitBefore(废弃)
async_hooks asyncResource.emitBefore 废弃于: v9.6.0
Call all before callbacks to notify that a new asynchronous execution context is being entered. If nested calls to emitBefore() are made, the stack of asyncIds will be tracked and properly unwound.
before and after calls must be unwound in the same order that they are called. Otherwise, an unrecoverable exception will occur and the process will abort. For this reason, the emitBefore and emitAfter APIs are considered deprecated. Please use runInAsyncScope, as it provides a much safer alternative.
更多选项请参考：Node.js 异步钩子，或者通过 点击对应菜单 进行查看；