Optional
opts: WritableOptionsReadonly
closedReadonly
erroredThe path to the file the stream is writing to as specified in the first
argument to createWriteStream. If path
is passed as a string, thenwriteStream.path
will be a string. If path
is passed as a Buffer
, thenwriteStream.path
will be a
Buffer
.
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
writableReadonly
writableReadonly
writableReadonly
writableReadonly
writableReadonly
writableReadonly
writableOptional
_writevEvent emitter The defined events on documents including:
Event emitter The defined events on documents including:
Event emitter The defined events on documents including:
Event emitter The defined events on documents including:
Event emitter The defined events on documents including:
Event emitter The defined events on documents including:
Event emitter The defined events on documents including:
Optional
options: ArrayOptionsOptional
options: ArrayOptionsOptional
initial: undefinedOptional
options: Pick<ArrayOptions, "signal">Optional
cb: (error: undefined | null | Error) => voidOptional
encoding: stringOptional
cb: (error: undefined | null | Error) => void
The number of bytes written so far. Does not include data that is still queued for writing.