RecordToResult2<A, B, Z extends Object> extension

on

Methods

toResult() Result<(A, B), List<Z>>
Transforms a Record of Results 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), Z>
Transforms a Record of Results into a single Result. The Ok value is a Record of all Result's Ok values. The Err value is the first Err encountered.