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
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r--doc/api/v8.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md
index 8016bcb5e5e..19d9225f266 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -627,7 +627,7 @@ stopHookSet();
### `promiseHooks.onInit(init)`
<!-- YAML
-added: REPLACEME
+added: v16.14.0
-->
* `init` {Function} The [`init` callback][] to call when a promise is created.
@@ -651,7 +651,7 @@ const stop = promiseHooks.onInit((promise, parent) => {});
### `promiseHooks.onSettled(settled)`
<!-- YAML
-added: REPLACEME
+added: v16.14.0
-->
* `settled` {Function} The [`settled` callback][] to call when a promise
@@ -676,7 +676,7 @@ const stop = promiseHooks.onSettled((promise) => {});
### `promiseHooks.onBefore(before)`
<!-- YAML
-added: REPLACEME
+added: v16.14.0
-->
* `before` {Function} The [`before` callback][] to call before a promise
@@ -701,7 +701,7 @@ const stop = promiseHooks.onBefore((promise) => {});
### `promiseHooks.onAfter(after)`
<!-- YAML
-added: REPLACEME
+added: v16.14.0
-->
* `after` {Function} The [`after` callback][] to call after a promise
@@ -726,7 +726,7 @@ const stop = promiseHooks.onAfter((promise) => {});
### `promiseHooks.createHook(callbacks)`
<!-- YAML
-added: REPLACEME
+added: v16.14.0
-->
* `callbacks` {Object} The [Hook Callbacks][] to register