diff options
Diffstat (limited to 'src/js/builtins/AsyncContext.ts')
-rw-r--r-- | src/js/builtins/AsyncContext.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/js/builtins/AsyncContext.ts b/src/js/builtins/AsyncContext.ts deleted file mode 100644 index 1c55feeba..000000000 --- a/src/js/builtins/AsyncContext.ts +++ /dev/null @@ -1,9 +0,0 @@ -// Used by async_hooks to manipulate the async context - -export function getAsyncContext(): ReadonlyArray<any> | undefined { - return $getInternalField($asyncContext, 0); -} - -export function setAsyncContext(contextValue: ReadonlyArray<any> | undefined) { - return $putInternalField($asyncContext, 0, contextValue); -} |