1.

How Many Types Of Streams Are Present In Node?

Answer»

In Node.js, there are four types of streams.
Readable - STREAM which is used for read operation.
Writable - Stream which is used for write operation.
DUPLEX - Stream which can be used for both read and write operation.
Transform - A type of duplex stream where the output is computed BASED on input.

In Node.js, there are four types of streams.
Readable - Stream which is used for read operation.
Writable - Stream which is used for write operation.
Duplex - Stream which can be used for both read and write operation.
Transform - A type of duplex stream where the output is computed based on input.



Discussion

No Comment Found