public bool TrySend(T item)Attempts to write item synchronously without blocking.
All Types / Ferrous.Concurrency
public sealed class ChannelSender<T>
Send-only handle for a TypedChannel. Calling Complete consumes the sender handle ([ConsumesSelf]) so Ferrous.Ownership prevents sending after close.
Tpublic bool TrySend(T item)Attempts to write item synchronously without blocking.
public ValueTask SendAsync(T item, CancellationToken cancellationToken = default)Asynchronously writes item to the channel.
public void Complete(Exception? error = null) [ConsumesSelf]Marks the channel as complete and consumes this sender handle.