Commit 76b4680 1 parent 920d8c5 commit 76b4680 Copy full SHA for 76b4680
File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1587,6 +1587,10 @@ changes:
1587
1587
1588
1588
<!-- YAML
1589
1589
added: v14.5.0
1590
+ changes:
1591
+ - version: v15.4.0
1592
+ pr-url: https://github.com/nodejs/node/pull/36258
1593
+ description: add support for `signal` option.
1590
1594
-->
1591
1595
1592
1596
* ` type ` {string}
@@ -1599,6 +1603,8 @@ added: v14.5.0
1599
1603
** Default:** ` false ` .
1600
1604
* ` capture ` {boolean} Not directly used by Node.js. Added for API
1601
1605
completeness. ** Default:** ` false ` .
1606
+ * ` signal ` {AbortSignal} The listener will be removed when the given
1607
+ AbortSignal object's ` abort() ` method is called.
1602
1608
1603
1609
Adds a new handler for the ` type ` event. Any given ` listener ` is added
1604
1610
only once per ` type ` and per ` capture ` option value.
You can’t perform that action at this time.
0 commit comments