Home > @rushstack/terminal > SplitterTransform > addDestination
SplitterTransform.addDestination() method
Adds a destination to the set of destinations. Duplicates are ignored. Only new chunks received after the destination is added will be sent to it.
Signature:
addDestination(destination: TerminalWritable): void;
Parameters
Parameter | Type | Description |
|---|---|---|
destination | The destination to add. |
Returns:
void