Closed szmarczak closed 4 years ago
const getStream = require('get-stream'); const {Readable} = require('stream'); const stream = new Readable({ read() { this.push('chunk'); this.push(null); } }); const buffer = await getStream.buffer(stream); console.log(stream.listenerCount('error')); // => 1
~#21 should fix this~ https://github.com/nodejs/node/issues/32995
wontfix