cancelAll method

void cancelAll()

Implementation

void cancelAll() {
  for (var key in _registry.keys.toList()) {
    final c = _registry.remove(key);
    if (c != null && !c.isCompleted) {
      c.completeError('_disposed_');
    }
  }
}