Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2021-06-21 23:04:30 +0300
committerJoyee Cheung <joyeec9h3@gmail.com>2021-07-02 17:13:25 +0300
commit1544e69b93565c97e7ed232bf2db237d34b8fd7c (patch)
treea51e4fd3e34f0782b82bd03cb00313d48ae12147 /src/env.h
parent320339630d0366298c9c62a537bcfeec62b9d038 (diff)
inspector: move inspector async hooks to environment
Since async hooks are per-environment and putting them in the environment allows us to serialize them for the snapshot automatically. PR-URL: https://github.com/nodejs/node/pull/39112 Refs: https://github.com/nodejs/node/pull/38905 Refs: https://github.com/nodejs/node/issues/35711 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h
index 7b136f70fba..e1b89261fcb 100644
--- a/src/env.h
+++ b/src/env.h
@@ -520,6 +520,8 @@ constexpr size_t kFsStatsBufferLength =
V(internal_binding_loader, v8::Function) \
V(immediate_callback_function, v8::Function) \
V(inspector_console_extension_installer, v8::Function) \
+ V(inspector_disable_async_hooks, v8::Function) \
+ V(inspector_enable_async_hooks, v8::Function) \
V(messaging_deserialize_create_object, v8::Function) \
V(message_port, v8::Object) \
V(native_module_require, v8::Function) \