CacheableFireAndForgetMutationWithNoInput

class CacheableFireAndForgetMutationWithNoInput<TError : Throwable>(howTo: suspend () -> Unit, cache: OnHandCache, dispatcher: CoroutineDispatcher = Dispatchers.Default)

Constructors

constructor(howTo: suspend () -> Unit, cache: OnHandCache, dispatcher: CoroutineDispatcher = Dispatchers.Default)

Properties

Link copied to clipboard

Functions

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