DistinctCall
Functions
Inherited functions
Link copied to clipboard
Forces a regular call to be used instead of DistinctCall.
Link copied to clipboard
fun <T : Any> Call<T>.onErrorReturn(scope: CoroutineScope, function: suspend (originalError: StreamError) -> Result<T>): ReturnOnErrorCall<T>
Wraps this Call into ReturnOnErrorCall to return an item specified by side effect function when it encounters an error.
Link copied to clipboard
Link copied to clipboard
fun <T : Any> Call<T>.withPrecondition(scope: CoroutineScope, precondition: suspend () -> Result<Unit>): Call<T>
Run the Call if the given precondition is Result.Success.