Node Streams

In Node.js you are using the .pipe() function to transfer data from one process to another. The write queue is currently busy and so .write() returns a false value.

Which of the following event will be emitted once the data buffer is emptied to resume the incoming data flow in this situation?

Options
  1. .drain()
  2. .read()
  3. .transform()
  4. .duplex()
Previous PostNext Post

Related Posts