Home > @rushstack/stream-collator > StreamCollator > registerTask

StreamCollator.registerTask() method

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.

Registers a new task to be collated, and constructs a CollatedWriter object to receive its input.

Signature:

registerTask(taskName: string): CollatedWriter;

Parameters

Parameter Type Description
taskName string  

Returns:

CollatedWriter