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:
Haram Jeong authored and GitHub committed 2026-09-22 15:24:51 +00:00
1 parent c0ed28fdda
commit 3cd2d6e209
1 file changed
+2 -1
+2 -1
View File
@@ -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