Companion

object Companion

Functions

Link copied to clipboard
fun <F, S> buildResourceFailure(failure: F, data: S? = null, isLoading: Boolean = false): ResourceEither.Failure<F, S>
Link copied to clipboard
fun <F, S> buildResourceFailureLoading(failure: F, data: S? = null): ResourceEither.Failure<F, S>
Link copied to clipboard
fun <S> buildResourceSuccess(data: S, isLoading: Boolean = false): ResourceEither.Success<S>
Link copied to clipboard
fun <F, S> resourceFailure(failure: F, data: S? = null, isLoading: Boolean = false): ResourceEither<F, S>
Link copied to clipboard
fun <F, S> resourceFailureLoading(failure: F, data: S? = null): ResourceEither<F, S>
Link copied to clipboard
fun <S> resourceSuccess(data: S, isLoading: Boolean = false): ResourceEither<Nothing, S>
Link copied to clipboard