Channel.send

ChannelStatus send(T value) @trusted

Send a value into the channel, blocking if the channel is full.

Parameters

valueThe value to send.

Returns

ChannelStatus.SUCCESS if the value was sent successfully,

ChannelStatus.CLOSED if the channel has been closed.