Skip to main content

Home > flowp > ChannelHub > broadcast

ChannelHub.broadcast() method

send a value to the hub, will be received by all readers

Signature:

broadcast(value: T): void;

Parameters

ParameterTypeDescription
valueT

Returns:

void

Exceptions

Channel.ClosedChannelError - if ChannelHub is closed