Skip to content

doc: document iterable input for AbortSignal.any - #66123

Open
haramj wants to merge 1 commit into
nodejs:mainfrom
haramj:codex/doc-abortsignal-any-iterable
Open

haramj wants to merge 1 commit into
nodejs:mainfrom
haramj:codex/doc-abortsignal-any-iterable

Conversation

@haramj

@haramj haramj commented Sep 19, 2026

Copy link
Copy Markdown
Member

AbortSignal.any() accepts an iterable of AbortSignals, but its parameter
documentation currently lists only an array. Describe the input as an
Iterable so callers can see that other iterable objects are supported.

Validation:

  • Markdown lint passed for doc/api/globals.md.
  • All 13 existing test-abortsignal-any.mjs tests passed using the available
    local v27.0.0-pre build. This was not a rebuild of the latest main.
  • git diff --check passed.

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to Node.js documentation. label Sep 19, 2026
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
@haramj
haramj force-pushed the codex/doc-abortsignal-any-iterable branch from 809b765 to 84943e6 Compare September 19, 2026 04:55
@haramj
haramj requested a review from lpinca September 19, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to Node.js documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants