ChannelUnbounded.blockingReceive

ChannelResult!T blockingReceive() @trusted

Receive a value, blocking if empty.

Parameters

valueOutput parameter for the received value.

Returns

ChannelResult!T — the received value, or a ChannelError payload

with ChannelErrorReason.CLOSED if closed and empty.

ChannelResult!T blockingReceive(CancelToken token) @trusted
No documentation available for this declaration.