ChannelStatus.SUCCESS if a value was received,
ChannelStatus.CLOSED if the channel is closed and empty.
ChannelStatus receive(out T value) @trustedReceive a value from the channel, blocking if empty.
value | Output parameter to store the received value. |
ChannelStatus.SUCCESS if a value was received,
ChannelStatus.CLOSED if the channel is closed and empty.