Skip to main content

Home > flowp > Channel > send

Channel.send() method

send a value to channel.

if the channel has reached its capacity, then call to send will be blocked

Signature:

send(value: T): Promise<void>;

Parameters

ParameterTypeDescription
valueT

Returns:

Promise<void>

Exceptions

-Channel.ClosedChannelError throw if channel is closed