Channel.blockingSend

ChannelStatus blockingSend(T value) @trusted

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

Warning: This method blocks the calling thread using a mutex. Never call from an event-loop thread. Use trySend instead for non-blocking operation.

Parameters

valueThe value to send.

Returns

ChannelStatus — success, or a ChannelError payload with

ChannelErrorReason.CLOSED when the channel has been closed.

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