remove method

void remove(
  1. WaiterOperation<T> operation
)

Removes a specific operation from the queue.

Equality is identity-based on the WaiterOperation instance — two wrappers with the same WaiterOperation.id but distinct instances are not the same operation. If you need find-by-id semantics, use removeWhere or filter operations yourself.

Implementation

void remove(WaiterOperation<T> operation) {
  _operations.remove(operation);
}