Optional
options: ReadableOptionsReadonly
closedReadonly
erroredThe path to the file the stream is reading from as specified in the first
argument to fs.createReadStream()
. If path
is passed as a string, thenreadStream.path
will be a string. If path
is passed as a Buffer
, thenreadStream.path
will be a
Buffer
. If fd
is specified, thenreadStream.path
will be undefined
.
This property is true
if the underlying file has not been opened yet,
i.e. before the 'ready'
event is emitted.
Readonly
readableReadonly
readableReadonly
readableReadonly
readableReadonly
readableReadonly
readableReadonly
readableReadonly
readableEvent emitter The defined events on documents including:
Rest
...args: any[]Rest
...args: any[]Optional
options: SignalOptionOptional
options: ArrayOptionsRest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]
The number of bytes that have been read so far.