MutationObserver
open external class MutationObserver<TData, TError, TVariables, TContext>(client: QueryClient, options: MutationObserverOptions<TData, TError, TVariables, TContext>) : Subscribable<MutationObserverListener<TData, TError, TVariables, TContext>> (source)
Constructors
Link copied to clipboard
constructor(client: QueryClient, options: MutationObserverOptions<TData, TError, TVariables, TContext>)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun mutate(variables: TVariables, options: MutateOptions<TData, TError, TVariables, TContext> = definedExternally): Promise<TData>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun subscribe(listener: MutationObserverListener<TData, TError, TVariables, TContext>): () -> Unit