CacheableFireAndForgetMutationWithInput

class CacheableFireAndForgetMutationWithInput<TInput : CacheableInput.MutationInput, TError : Throwable>(howTo: suspend (input: TInput) -> Unit, cache: OnHandCache, dispatcher: CoroutineDispatcher = Dispatchers.Default)

Constructors

Link copied to clipboard
constructor(howTo: suspend (input: TInput) -> Unit, cache: OnHandCache, dispatcher: CoroutineDispatcher = Dispatchers.Default)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun mutate(queryInput: TInput, optimisticUpdate: (input: TInput) -> Map<out CacheableInput, Any?>? = null, onSuccess: suspend () -> Unit? = null, onError: suspend (error: TError) -> Unit? = null)