ChannelResult!T — the received value, or a ChannelError
payload: ChannelErrorReason.WOULD_BLOCK if the channel is empty, ChannelErrorReason.CLOSED if it is closed and empty.
ChannelResult!T tryReceive() @trustedTry to receive a value without blocking.
ChannelResult!T — the received value, or a ChannelError
payload: ChannelErrorReason.WOULD_BLOCK if the channel is empty, ChannelErrorReason.CLOSED if it is closed and empty.
ChannelResult!T tryReceive(CancelToken token) @trusted