Home > flowp > Channel > trySend
Channel.trySend() method
try to send a value synchronosly
Signature:
trySend(value: T): void;
Parameters
Parameter | Type | Description |
---|---|---|
value | T |
Returns:
void
Exceptions
-Channel.ClosedChannelError channel is closed
-Channel.ChannelFullError channel is full