Options for Readable private constructor.
For stream implementors only, see node.js API documentation
Fields
optionalobjectMode:Null<Bool>
optionalhighWaterMark:Null<Int>
The maximum number of bytes to store in the internal buffer before ceasing to read from the underlying resource.
Default: 16384 (16kb), or 16 for objectMode streams.
optionalencoding:Null<String>
If specified, then buffers will be decoded to strings using the specified encoding.
Default: null.
optionalemitClose:Null<Bool>
Whether or not the stream should emit 'close' after it has been destroyed.
Default: true.
optionaldestroy:Null<(err:Null<Error>, callback:Null<Error> ‑> Void) ‑> Void>
Implementation for the stream._destroy() method.
optionalautoDestroy:Null<Bool>
Whether this stream should automatically call .destroy() on itself after ending.
Default: false.