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:
15781578
15791579<!-- YAML
15801580added: 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.
15811585-->
15821586
15831587* ` type ` {string}
@@ -1590,6 +1594,8 @@ added: v14.5.0
15901594 ** Default:** ` false ` .
15911595 * ` capture ` {boolean} Not directly used by Node.js. Added for API
15921596 completeness. ** Default:** ` false ` .
1597+ * ` signal ` {AbortSignal} The listener will be removed when the given
1598+ AbortSignal object's ` abort() ` method is called.
15931599
15941600Adds a new handler for the ` type ` event. Any given ` listener ` is added
15951601only once per ` type ` and per ` capture ` option value.
You can’t perform that action at this time.
0 commit comments