Methods
_read()
_read() causes calls to DummyReader.read() to return null and emit the stream end event.
- Source:
DummyReader implements the read() method of stream.Readable, returning null. This class is sometimes returned by functions whose caller expect a readable stream, which may have no data. For example, when the FileSystemIterator returns a directory entry, this allows it to return a non-null Readable so the caller won't blow up if it tries to call read().
_read() causes calls to DummyReader.read() to return null and emit the stream end event.