Skip to content

Array.fromAsync() mapFn does not always have its input awaited - #39690

Merged
Josh-Cena merged 2 commits into
mdn:mainfrom
Josh-Cena:fix-array-fromasync
May 27, 2025
Merged

Josh-Cena merged 2 commits into
mdn:mainfrom
Josh-Cena:fix-array-fromasync

Conversation

@Josh-Cena

Copy link
Copy Markdown
Member

@Josh-Cena
Josh-Cena requested review from a team and chrisdavidmills and removed request for a team May 26, 2025 16:46
@github-actions github-actions Bot added Content:JS JavaScript docs size/m [PR only] 51-500 LoC changed labels May 26, 2025
@github-actions

github-actions Bot commented May 26, 2025 •

Copy link
Copy Markdown
Contributor

@js-choi

js-choi commented May 27, 2025

Copy link
Copy Markdown
Contributor

Looks good to me, thank you.

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reads pretty nicely, great work @Josh-Cena. I've included one small nitpick suggestion, but I'm approving it so you can merge at will.

@Josh-Cena
Josh-Cena merged commit 1376e18 into mdn:main May 27, 2025
@Josh-Cena
Josh-Cena deleted the fix-array-fromasync branch May 27, 2025 08:52
zachernuk pushed a commit to zachernuk/content that referenced this pull request Jun 4, 2025
…9690)

* Array.fromAsync() mapFn does not always have its input awaited

* Update files/en-us/web/javascript/reference/global_objects/array/fromasync/index.md

Co-authored-by: Chris Mills <[email protected]>

---------

Co-authored-by: Chris Mills <[email protected]>
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Content:JS JavaScript docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Array.fromAsync mapFn does not await input item if it came from async iterable

3 participants