We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AsyncHook
1 parent 7baadb3 commit e4a72d6Copy full SHA for e4a72d6
doc/api/async_hooks.md
@@ -170,6 +170,11 @@ provided by AsyncHooks itself. The logging should then be skipped when
170
it was the logging itself that caused AsyncHooks callback to call. By
171
doing this the otherwise infinite recursion is broken.
172
173
+### Class: `AsyncHook`
174
+
175
+The class `AsyncHook` exposes an interface for tracking lifetime events
176
+of asynchronous operations.
177
178
#### `asyncHook.enable()`
179
180
* Returns: {AsyncHook} A reference to `asyncHook`.
0 commit comments