Transfer data from one process to another

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

Which of the following events 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()

Related Posts

Close Bitnami banner
Bitnami