Companion
object Companion
Functions
Link copied to clipboard
fun <S, F> createDifferent(status: BatchOperationStatus, successValues: List<S>? = null, failureValues: List<F>? = null): BatchOperationResult<S, F>
Creates a BatchOperationResult where the successValues and failureValues can be of different types (S and F, respectively).
Link copied to clipboard
fun <S> createSame(status: BatchOperationStatus, successValues: List<S>? = null, failureValues: List<S>? = null): BatchOperationResult<S, S>
Creates a BatchOperationResult where the successValues and failureValues are of the same type S.