IterableComputeOnceExtension<V> extension

Utilities to resolve multiple ComputeOnce instances.

on

Methods

computeAll({bool throwError = true, FutureOr<V> onError(Object error, StackTrace stackTrace)?, V? onErrorValue}) FutureOr<List<V>>

Available on Iterable<ComputeOnce<V>>, provided by the IterableComputeOnceExtension extension

Resolves all computations and returns their results in iteration order.
computeAllAsync({bool throwError = true, Future<V> onError(Object error, StackTrace stackTrace)?, V? onErrorValue}) Future<List<V>>

Available on Iterable<ComputeOnce<V>>, provided by the IterableComputeOnceExtension extension

Asynchronously resolves all computations and returns their results in iteration order.