summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/async_hooks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/async_hooks.ts')
-rw-r--r--ext/node/polyfills/async_hooks.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/polyfills/async_hooks.ts b/ext/node/polyfills/async_hooks.ts
index e8960c4dc..f94b8d2c6 100644
--- a/ext/node/polyfills/async_hooks.ts
+++ b/ext/node/polyfills/async_hooks.ts
@@ -207,6 +207,8 @@ export class AsyncResource {
}
}
+ emitDestroy() {}
+
bind(fn: (...args: unknown[]) => unknown, thisArg = this) {
validateFunction(fn, "fn");
const frame = AsyncContextFrame.current();