Properties
Optional allowHalfOpen
allowHalfOpen?: boolean
Optional autoDestroy
autoDestroy?: boolean
Optional decodeStrings
decodeStrings?: boolean
Optional defaultEncoding
defaultEncoding?: BufferEncoding
Optional emitClose
emitClose?: boolean
Optional encoding
encoding?: BufferEncoding
Optional highWaterMark
highWaterMark?: number
Optional maxBsonMessageSize
maxBsonMessageSize?: number
Optional objectMode
objectMode?: boolean
Optional readableHighWaterMark
readableHighWaterMark?: number
Optional readableObjectMode
readableObjectMode?: boolean
Optional signal
signal?: AbortSignal
Optional writableCorked
writableCorked?: number
Optional writableHighWaterMark
writableHighWaterMark?: number
Optional writableObjectMode
writableObjectMode?: boolean
When provided the corresponding
AbortController
can be used to cancel an asynchronous action.