BroadcastReceiver.tryReceive

ChannelStatus tryReceive(out T value) @trusted

Try to receive a value without blocking.

Parameters

valueOutput parameter for the received value.

Returns

ChannelStatus.OK on success, ChannelStatus.WOULD_BLOCK if empty,

ChannelStatus.CLOSED if closed and empty.

ChannelStatus tryReceive(out T value, CancelToken token) @trusted
No documentation available for this declaration.