diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/async_hooks.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 37354ce3864..17cdf61c39d 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -681,10 +681,10 @@ asyncResource.triggerAsyncId(); * `options` {Object} * `triggerAsyncId` {number} The ID of the execution context that created this async event. **Default:** `executionAsyncId()`. - * `requireManualDestroy` {boolean} Disables automatic `emitDestroy` when the - object is garbage collected. This usually does not need to be set (even if - `emitDestroy` is called manually), unless the resource's `asyncId` is - retrieved and the sensitive API's `emitDestroy` is called with it. + * `requireManualDestroy` {boolean} If set to `true`, disables `emitDestroy` + when the object is garbage collected. This usually does not need to be set + (even if `emitDestroy` is called manually), unless the resource's `asyncId` + is retrieved and the sensitive API's `emitDestroy` is called with it. **Default:** `false`. Example usage: |