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
- write(this: <internal>.Writable, chunk: any, encoding: string, callback: ((error?: Error) => void)): void
Parameters
chunk: any
encoding: string
callback: ((error?: Error) => void)
Returns void
Optional writev
- writev(this: <internal>.Writable, chunks: { chunk: any; encoding: string }[], callback: ((error?: Error) => void)): void
Parameters
chunks: { chunk: any; encoding: string }[]
callback: ((error?: Error) => void)
Returns void
Optional destroy
- destroy(this: <internal>.Writable, error: Error, callback: ((error: Error) => void)): void
Parameters
error: Error
callback: ((error: Error) => void)
Returns void
Optional final
Parameters
callback: ((error?: Error) => void)
Returns void