diff options
author | Matteo Collina <hello@matteocollina.com> | 2017-12-19 13:33:31 +0100 |
---|---|---|
committer | Matteo Collina <hello@matteocollina.com> | 2018-01-11 12:34:41 +0100 |
commit | 61b4d60c5d9694e79069b1680b3736c96a5de501 (patch) | |
tree | 1a629098741a9f32da51ad6016eb05af22ad2c8a /test/parallel/test-stream-transform-final.js | |
parent | 4d96c17e054fd4735063dc4aa4341ea76ca12b49 (diff) | |
download | android-node-v8-61b4d60c5d9694e79069b1680b3736c96a5de501.tar.gz android-node-v8-61b4d60c5d9694e79069b1680b3736c96a5de501.tar.bz2 android-node-v8-61b4d60c5d9694e79069b1680b3736c96a5de501.zip |
stream: added experimental support for for-await
Adds support for Symbol.asyncIterator into the Readable class.
The stream is destroyed when the loop terminates with break or throw.
Fixes: https://github.com/nodejs/node/issues/15709
PR-URL: https://github.com/nodejs/node/pull/17755
Fixes: https://github.com/nodejs/node/issues/15709
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'test/parallel/test-stream-transform-final.js')
0 files changed, 0 insertions, 0 deletions