File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1578,6 +1578,10 @@ changes:
1578
1578
1579
1579
<!-- YAML
1580
1580
added: v14.5.0
1581
+ changes:
1582
+ - version: v15.4.0
1583
+ pr-url: https://github.com/nodejs/node/pull/36258
1584
+ description: add support for `signal` option.
1581
1585
-->
1582
1586
1583
1587
* ` type ` {string}
@@ -1590,6 +1594,8 @@ added: v14.5.0
1590
1594
** Default:** ` false ` .
1591
1595
* ` capture ` {boolean} Not directly used by Node.js. Added for API
1592
1596
completeness. ** Default:** ` false ` .
1597
+ * ` signal ` {AbortSignal} The listener will be removed when the given
1598
+ AbortSignal object's ` abort() ` method is called.
1593
1599
1594
1600
Adds a new handler for the ` type ` event. Any given ` listener ` is added
1595
1601
only once per ` type ` and per ` capture ` option value.
You can’t perform that action at this time.
0 commit comments