ResultListenableIterableEffects<S> extension
Effect extension on Iterables containing ResultNotifiers (or ResultListenables).
Provides convenience methods for applying effects to collections of ResultListenables, such as combining data (see combineData) and Results (see combine).
- on
Methods
-
combine<
R> (R combine(List< S> data)) → Result<R> - Combines the data of all Results into a single Result, using the provided combine function.
-
combineData<
R> (R combine(List< S> data)) → R? - Combines the data of all ResultListenables into a single value, using the provided combine function.