You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case, where I create a BufferList that is piped to a processor.
I want to be able to setup the bl.pipe(processor) before I even start to feed data into the bufferlist. When I try that, the bufferlist immediately ends.
Failing example:
constStream=require('stream');constBufferList=require('bl');constbl=newBufferList();constprocessor=newBufferList((err,buffer)=>{// Can be any writableconsole.log('result:',buffer.toString());});bl.pipe(processor);setImmediate(()=>{bl.append('hello');bl.end();});
The text was updated successfully, but these errors were encountered:
I have a use case, where I create a
BufferList
that is piped to a processor.I want to be able to setup the
bl.pipe(processor)
before I even start to feed data into the bufferlist. When I try that, the bufferlist immediately ends.Failing example:
The text was updated successfully, but these errors were encountered: