Skip to main content

Home > @rushstack/stream-collator > IStreamCollatorOptions

IStreamCollatorOptions interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Constructor options for StreamCollator.


export interface IStreamCollatorOptions 


destinationTerminalWritable(BETA) The target TerminalWritable object that the StreamCollator will write its output to.
onWriterActive?(writer: CollatedWriter) => void(BETA) (Optional) An event handler that is called when a CollatedWriter becomes output, before any of its chunks have been written to the destination.