Skip to content

stream: fix readable stream as async iterator function

Since v19.2 it's not possible to use Readable streams as async iterators (confirmed bug).

This patch fixes the problem by loading the 'stream' module when using node/streams/promises

Fixes: https://github.com/nodejs/node/issues/46141

cc @nodejs/streams

Merge request reports

Loading