Result$RecordResult9Extension<A, B, C, D, E, F, G, H, I, Z extends Object> extension
- on
-
- (Result<A, Z>, Result<B, Z>, Result<C, Z>, Result<D, Z>, Result<E, Z>, Result<F, Z>, Result<G, Z>, Result<H, Z>, Result<I, Z>)
Methods
-
toResult()
→ Result<(A, B, C, D, E, F, G, H, I), List<Z>>
-
Transforms a Record of
Result
s into a single Result
. The Ok
value is a Record of all Result's Ok
values. The Err
value is the List of all Err
values.
-
toResultEager()
→ Result<(A, B, C, D, E, F, G, H, I), Z>
-
Transforms a Record of
Result
s into a single Result
. The Ok
value is a Record of all Result's Ok
values. The Err
value is the first Err
encountered.