diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index e8cb9344c4c123..fdc1158f22bc37 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -470,6 +470,14 @@ init for PROMISE with id 6, trigger id: 5 # the Promise returned by then() #### `async_hooks.executionAsyncId()` + + * Returns: {number} The `asyncId` of the current execution context. Useful to track when something calls.