ChannelUnbounded.trySend

ChannelStatus trySend(T value) @trusted

Try to send without blocking.

Parameters

valueThe value to send.

Returns

ChannelStatus.OK on success, ChannelStatus.WOULD_BLOCK if at

memory limit, ChannelStatus.CLOSED if closed.

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