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.OK if the value was sent successfully,

ChannelStatus.CLOSED if the channel has been closed.

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