Duplex stream

A Node.js stream that is both readable and writable, with the two sides independent, such as a TCP socket.

In more detail

What you write to a socket goes to the other machine, and what you read comes from it. A Transform stream is a Duplex whose output is computed from its input.

Related terms

Taught in

References