Package-level declarations

Functions

Link copied to clipboard
inline fun <F, S> F.asFailure(data: S? = null, isLoading: Boolean = false): ResourceEither<F, S>

Transform this in Failure

Link copied to clipboard
inline fun <F, S> S.asSuccess(isLoading: Boolean = false): ResourceEither<F, S>

Transform this in Success

Link copied to clipboard
inline fun <F, S> S.asSuccessLoading(): ResourceEither<F, S>

Transform this in SuccessLoading