method AsyncResource.prototype.bindAsyncResource.prototype.bind<Func extends (...args: any[]) => any>(fn: Func): FuncDeprecatedBinds the given function to execute to this AsyncResource's scope. Type ParametersFunc extends (...args: any[]) => anyParametersfn: FuncThe function to bind to the current AsyncResource. Return TypeFunc