GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: clarify `requireManualDestroy` option · nodejs/node@f2235f6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • async_hooks.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/async_hooks.md‎

Copy file name to clipboardExpand all lines: doc/api/async_hooks.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,10 @@ asyncResource.triggerAsyncId();
625625
* `options` {Object}
626626
* `triggerAsyncId` {number} The ID of the execution context that created this
627627
async event. **Default:** `executionAsyncId()`.
628-
* `requireManualDestroy` {boolean} Disables automatic `emitDestroy` when the
629-
object is garbage collected. This usually does not need to be set (even if
630-
`emitDestroy` is called manually), unless the resource's `asyncId` is
631-
retrieved and the sensitive API's `emitDestroy` is called with it.
628+
* `requireManualDestroy` {boolean} If set to `true`, disables `emitDestroy`
629+
when the object is garbage collected. This usually does not need to be set
630+
(even if `emitDestroy` is called manually), unless the resource's `asyncId`
631+
is retrieved and the sensitive API's `emitDestroy` is called with it.
632632
**Default:** `false`.
633633

634634
Example usage:

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.