-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
const readable = Readable.from(['hello world!!!!!\n'])
const stream1 = new ReadableStreamClone(readable)
const stream2 = new ReadableStreamClone(readable)
pipeline(stream1, process.stdout, err => {
if (err) {
console.error(err)
}
});
setTimeout(() => {
pipeline(stream2, process.stdout, err => {
if (err) {
console.error(err)
}
});
}, 5000);
will throw an error after the timeout ERR_STREAM_WRITE_AFTER_END: write after end
Metadata
Metadata
Assignees
Labels
No labels