If set to false, then the stream will automatically end the readable side when the writable side ends and vice versa (Default: true).
Sets objectMode for readable side of the stream. Has no effect if objectMode is true (Default: false).
Sets objectMode for writable side of the stream. Has no effect if objectMode is true (Default: false).
If set to false, then the stream will automatically end the readable side when the writable side ends and vice versa (Default: true).
Sets objectMode for readable side of the stream.
Sets objectMode for readable side of the stream. Has no effect if objectMode is true (Default: false).
Sets objectMode for writable side of the stream.
Sets objectMode for writable side of the stream. Has no effect if objectMode is true (Default: false).
Duplex Options