wait method

FutureOr<Iterable<T>> wait({
  1. _TOnErrorCallback? onError,
  2. bool eagerError = true,
})

Implementation

FutureOr<Iterable<T>> wait({
  _TOnErrorCallback? onError,
  bool eagerError = true,
}) {
  return waitAlikeF(
    _operations,
    onError: (Object e, StackTrace? s) {
      _onError?.call(e, s);
      onError?.call(e, s);
    },
    eagerError: eagerError,
  );
}