Interface WritableOptions
Properties
Optional highWaterMark
highWaterMark?: number
Optional decodeStrings
decodeStrings?: boolean
Optional defaultEncoding
defaultEncoding?: string
Optional objectMode
objectMode?: boolean
Optional emitClose
emitClose?: boolean
Optional autoDestroy
autoDestroy?: boolean
Methods
Optional write
Parameters
chunk: any
encoding: string
callback: ((error?: Error) => void)
Returns void
Optional writev
Parameters
chunks: { chunk: any; encoding: string }[]
callback: ((error?: Error) => void)
Returns void
Optional destroy
Parameters
error: Error
callback: ((error: Error) => void)
Returns void
Optional final
Parameters
callback: ((error?: Error) => void)
Returns void