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.
A static class which manages the output of multiple threads.
export declare class StreamCollator
|(constructor)(options)||(BETA) Constructs a new instance of the
|activeTaskName||string||(BETA) For diagnostic purposes, returns the CollatedWriter.taskName for the currently active writer, or an empty string if no writer is active.|
|activeWriter||CollatedWriter | undefined||(BETA) Returns the currently active
|writers||ReadonlySet<CollatedWriter>||(BETA) The list of writers that have been registered by calling StreamCollator.registerTask(), in the order that they were registered.|
|registerTask(taskName)||(BETA) Registers a new task to be collated, and constructs a CollatedWriter object to receive its input.|