Home > flowp > ChannelHub > (constructor)
ChannelHub.(constructor)
Constructs a new instance of the ChannelHub class
Signature:
constructor(writers?: Channel<T>[], readers?: Channel<T>[]);
Parameters
| Parameter | Type | Description |
|---|---|---|
| writers | Channel<T>[] | |
| readers | Channel<T>[] |