mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: document iterable input for AbortSignal.any
Describe signals as an iterable of AbortSignals, matching the WebIDL sequence conversion and the existing iterable test. Signed-off-by: haramjeong <04harams77@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/66123 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
c0ed28fdda
commit
3cd2d6e209
1 file changed
+2
-1
+2
-1
@@ -138,7 +138,8 @@ added:
|
||||
- v18.17.0
|
||||
-->
|
||||
|
||||
* `signals` {AbortSignal\[]} The `AbortSignal`s of which to compose a new `AbortSignal`.
|
||||
* `signals` {Iterable} An iterable of {AbortSignal}s from which to compose a new
|
||||
{AbortSignal}.
|
||||
|
||||
Returns a new `AbortSignal` which will be aborted if any of the provided
|
||||
signals are aborted. Its [`abortSignal.reason`][] will be set to whichever
|
||||
|
||||
Reference in new issue
Block a user