asyncResource.bind(fn[, thisArg])
-
fn
<Function> 绑定到当前AsyncResource
的函数。¥
fn
<Function> The function to bind to the currentAsyncResource
. -
thisArg
<any>
将要执行的给定函数绑定到此 AsyncResource
的范围。
¥Binds the given function to execute to this AsyncResource
's scope.