Search Results


4 years ago by 1

How to detect when pipe completed and define a callback? Reader.pipe(Writer); Which is better place to define callback,  Reader.on('end', function(){ }); or Writer.on('finish', function() { . . .

  • 1
  • 0
  • 789