| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b30c40b commit 735ef8b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -89,6 +89,7 @@ added: v8.1.0 | |||
| 89 | 89 | * `before` {Function} The [`before` callback][]. | |
| 90 | 90 | * `after` {Function} The [`after` callback][]. | |
| 91 | 91 | * `destroy` {Function} The [`destroy` callback][]. | |
| 92 | + * `promiseResolve` {Function} The [`promiseResolve` callback][]. | ||
| 92 | 93 | * Returns: {AsyncHook} Instance used for disabling and enabling hooks | |
| 93 | 94 | ||
| 94 | 95 | Registers functions to be called for different lifetime events of each async | |
@@ -685,6 +686,7 @@ never be called. | |||
| 685 | 686 | [`before` callback]: #async_hooks_before_asyncid | |
| 686 | 687 | [`destroy` callback]: #async_hooks_destroy_asyncid | |
| 687 | 688 | [`init` callback]: #async_hooks_init_asyncid_type_triggerasyncid_resource | |
| 689 | + [`promiseResolve` callback]: #async_hooks_promiseresolve_asyncid | ||
| 688 | 690 | [Hook Callbacks]: #async_hooks_hook_callbacks | |
| 689 | 691 | [PromiseHooks]: https://docs.google.com/document/d/1rda3yKGHimKIhg5YeoAmCOtyURgsbTH_qaYR79FELlk/edit | |
| 690 | 692 | [`Worker`]: worker_threads.html#worker_threads_class_worker | |
| Back | FazBrowse Home | New Git URL |
0 commit comments