diff options
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r-- | doc/api/v8.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md index 6671f0e945f..22a3b6e153d 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -629,7 +629,7 @@ stopHookSet(); ### `promiseHooks.onInit(init)` <!-- YAML -added: REPLACEME +added: v17.1.0 --> * `init` {Function} The [`init` callback][] to call when a promise is created. @@ -653,7 +653,7 @@ const stop = promiseHooks.onInit((promise, parent) => {}); ### `promiseHooks.onSettled(settled)` <!-- YAML -added: REPLACEME +added: v17.1.0 --> * `settled` {Function} The [`settled` callback][] to call when a promise @@ -678,7 +678,7 @@ const stop = promiseHooks.onSettled((promise) => {}); ### `promiseHooks.onBefore(before)` <!-- YAML -added: REPLACEME +added: v17.1.0 --> * `before` {Function} The [`before` callback][] to call before a promise @@ -703,7 +703,7 @@ const stop = promiseHooks.onBefore((promise) => {}); ### `promiseHooks.onAfter(after)` <!-- YAML -added: REPLACEME +added: v17.1.0 --> * `after` {Function} The [`after` callback][] to call after a promise @@ -728,7 +728,7 @@ const stop = promiseHooks.onAfter((promise) => {}); ### `promiseHooks.createHook(callbacks)` <!-- YAML -added: REPLACEME +added: v17.1.0 --> * `callbacks` {Object} The [Hook Callbacks][] to register |