Skip to content

Commit 809b765

Browse files
committed
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
1 parent 7c01b98 commit 809b765

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎doc/api/globals.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ added:
138138
- v18.17.0
139139
-->
140140

141-
* `signals` {AbortSignal\[]} The `AbortSignal`s of which to compose a new `AbortSignal`.
141+
* `signals` {Iterable} An iterable of `AbortSignal`s from which to compose a new
142+
`AbortSignal`.
142143

143144
Returns a new `AbortSignal` which will be aborted if any of the provided
144145
signals are aborted. Its [`abortSignal.reason`][] will be set to whichever

0 commit comments

Comments
 (0)