Skip to content

use for-of in Readable.from - #32855

Closed
vadzim wants to merge 1 commit into
nodejs:masterfrom
vadzim:UseForOfInReadableFrom
Closed

use for-of in Readable.from#32855
vadzim wants to merge 1 commit into
nodejs:masterfrom
vadzim:UseForOfInReadableFrom

Conversation

@vadzim

Copy link
Copy Markdown
Contributor
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@vadzim
vadzimforce-pushed the UseForOfInReadableFrom branch 2 times, most recently from 8cee490 to 9355470CompareApril 14, 2020 22:41
Use for-of loop to traverse iterator and properly close it
if not all of its values are consumed.
Fixes: nodejs#32842
@vadzim
vadzimforce-pushed the UseForOfInReadableFrom branch from 9355470 to 125ba87CompareApril 14, 2020 22:41
@vadzimvadzim closed this Apr 18, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@vadzim