SendErrorFull class final

Channel buffer is full and cannot accept more values.

This only occurs with bounded channels when using Sender.trySend. Use Sender.send to wait for space, or implement backpressure logic.

Example:

final result = tx.trySend(value);
if (result is SendErrorFull) {
  // Option 1: Wait for space
  await tx.send(value);

  // Option 2: Drop the value
  print('Channel full, dropping value');
}
Inheritance
Available extensions

Constructors

SendErrorFull()
const

Properties

hasError bool

Available on SendResult, provided by the SendResultX extension

true if any error occurred (convenience for error handling).
no setter
hashCode int
The hash code for this object.
no setterinherited
hasSend bool

Available on SendResult, provided by the SendResultX extension

true if the send operation succeeded.
no setter
isDisconnected bool

Available on SendResult, provided by the SendResultX extension

true if no receivers are available.
no setter
isFailed bool

Available on SendResult, provided by the SendResultX extension

true if the operation failed due to an exception.
no setter
isFull bool

Available on SendResult, provided by the SendResultX extension

true if the channel buffer was full (bounded channels only).
no setter
isTimeout bool

Available on SendResult, provided by the SendResultX extension

true if the operation timed out.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited