Interface ReadableOptions
Properties
Optional autoDestroy
autoDestroy?: boolean
Optional encoding
encoding?: string
Optional highWaterMark
highWaterMark?: number
Optional objectMode
objectMode?: boolean
Methods
Optional destroy
- destroy(this, error, callback): void
Parameters
error: null | Error
callback: ((error) => void)
- (error): void
Returns void
Returns void
Optional read
- read(this, size): void
Returns void