MutationCacheConfig

external interface MutationCacheConfig(source)

Properties

Link copied to clipboard
abstract val onError: (DefaultError, variables: Any?, context: Any?, mutation: Mutation<*, *, *, *>) -> Promise<*>?
Link copied to clipboard
abstract val onMutate: (variables: Any?, mutation: Mutation<*, *, *, *>) -> Promise<*>?
Link copied to clipboard
abstract val onSettled: (data: Any?, DefaultError?, variables: Any?, context: Any?, mutation: Mutation<*, *, *, *>) -> Promise<*>?
Link copied to clipboard
abstract val onSuccess: (data: Any?, variables: Any?, context: Any?, mutation: Mutation<*, *, *, *>) -> Promise<*>?