sendAll method

  1. @override
void sendAll(
  1. Iterable<T> values
)
override

Sends all values to the channel

Implementation

@override
void sendAll(Iterable<T> values) {
  if (isClosed) throw Exception('Channel is closed');
  _data.addAll(values);
  _send();
}