⚠️ Internal: This API is not publically exported by the
package.
Interface StreamOptions<T>
Methods
Optional
construct
- construct(this, callback): void
Parameters
this: T
callback: ((error?) => void)
- (error?): void
Returns void
Returns void
Optional
destroy
- destroy(this, error, callback): void
Parameters
this: T
callback: ((error?) => void)
- (error?): void
Returns void
Returns void
Properties
Optional
autoDestroy
autoDestroy?: boolean
Optional
emitClose
emitClose?: boolean
Optional
highWaterMark
highWaterMark?: number
Optional
objectMode
objectMode?: boolean
When provided the corresponding
AbortController
can be used to cancel an asynchronous action.