ParallelFutureValidatedIterablesFuturesEx<T> extension

on

Methods

asParallelFullSuccess({String? errorMessage, int? internalErrorCode}) Future<ValidatedResult<Iterable<T>>>

Available on Future<ValidatedResult<Iterable<Future<ValidatedResult<T>> Function()>>>, provided by the ParallelFutureValidatedIterablesFuturesEx extension

Run functions in isolates and wait the results, collecting successes and failures Use this function if functions to be waited cannot be run (or you don't want them to run) in an isolate If functions cannot be run in an Isolate, use tryWaitAll instead.
asParallelPartialSuccess({String? errorMessage, int? internalErrorCode}) Future<ValidatedResult<Iterable<T>>>

Available on Future<ValidatedResult<Iterable<Future<ValidatedResult<T>> Function()>>>, provided by the ParallelFutureValidatedIterablesFuturesEx extension

Run functions in isolates and wait the results, collecting successes and failures Use this function if functions to be waited cannot be run (or you don't want them to run) in an isolate If functions cannot be run in an Isolate, use tryWaitAll instead.
waitAllFullSuccess({String? errorMessage, int? internalErrorCode}) Future<ValidatedResult<Iterable<T>>>

Available on Future<ValidatedResult<Iterable<Future<ValidatedResult<T>> Function()>>>, provided by the ParallelFutureValidatedIterablesFuturesEx extension

Run functions and wait the results, collecting successes ir failures Use this function if functions to be waited cannot be run (or you don't want them to run) in an isolate Otherwise use tryAsParallel
waitAllPartialSuccess({String? errorMessage, int? internalErrorCode}) Future<ValidatedResult<Iterable<T>>>

Available on Future<ValidatedResult<Iterable<Future<ValidatedResult<T>> Function()>>>, provided by the ParallelFutureValidatedIterablesFuturesEx extension

Run functions and wait the results, collecting successes ir failures Use this function if functions to be waited cannot be run (or you don't want them to run) in an isolate Otherwise use tryAsParallel