Computer scienceBackendNode.jsCore ConceptsInternal modulesFile system module

Read stream

Lifecycle

Report a typo

Arrange the following stages in the lifecycle of a Node.js read stream in the order they typically occur.

Put the items in the correct order
Data is available to read
The stream and any of its underlying resources are closed
An error occurs
There is no more data to read
___

Create a free account to access the full topic