I'm implementing some writable stream and use it like this:
const consumer = new MyStream()
producer1.pipe(consumer, {end: false})
producer2.pipe(consumer, {end: false})
The repetitive part here is {end: false}
. Is there a way to configure the writable to ignore 'end' event from the producer? process.stderr and process.stdout work like this
via kharandziuk
No comments:
Post a Comment