Readonly readableReadonly readableReadonly readableReadonly readableReadonly readableReadonly readableProtected remainingProtected remainingProtected Readonly sourceReadonly writableReadonly writableReadonly writableReadonly writableReadonly writableReadonly writableReadonly writableStatic Readonly captureStatic captureSets or gets the default captureRejection value for all emitters.
Static defaultStatic Readonly errorThis symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error' listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error' event is emitted, therefore the process will still crash if no
regular 'error' listener is installed.
Optional _writevEvent emitter The defined events on documents including:
Rest ...args: any[]Protected binaryProtected checkOptional error: ErrorRest ...args: any[]Optional cb: (() => void)Optional cb: (() => void)Optional encoding: BufferEncodingOptional cb: (() => void)Protected objectRest ...args: any[]Rest ...args: any[]Rest ...args: any[]Rest ...args: any[]Rest ...args: any[]Optional event: string | symbolRest ...args: any[]Optional destination: WritableStreamOptional encoding: BufferEncodingOptional cb: ((error) => void)Optional cb: ((error) => void)Static fromStatic listenerStatic onStatic once
A stream that slices a part out of another stream.
startandendare inclusive. Ifendis not defined it is until the end of the stream.Negative
startvalues can be used to instead slice that many streams off the end of the stream. This requires thesizefield to be defined.Both object and non-object streams are supported. This needs to be explicitly specified, as the class makes no assumptions based on the object mode of the source stream.