MapComputeIDsExtension<D extends Object, V> extension

Utilities to resolve all TimedComputeOnce values in a map keyed by ComputeIDs.

on

Methods

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

Available on Map<ComputeIDs<D>, TimedComputeOnce<V>>, provided by the MapComputeIDsExtension extension

Resolves all computations and returns a map with the same keys.
computeAllAsync({bool throwError = true, Future<V> onError(Object error, StackTrace stackTrace)?, V? onErrorValue}) Future<Map<ComputeIDs<D>, V>>

Available on Map<ComputeIDs<D>, TimedComputeOnce<V>>, provided by the MapComputeIDsExtension extension

Asynchronously resolves all computations and returns a map with the same keys.