method AsyncResource.bind
Usage in Deno
```typescript import { AsyncResource } from "node:node__async_hooks.d.ts"; ```
AsyncResource.bind<Func extends (this: ThisArg,...args: any[],) => any,ThisArg,>(fn: Func,type?: string,thisArg?: ThisArg,): Func
Binds the given function to the current execution context.
Func extends (this: ThisArg,...args: any[],) => any