useMutationState

Function: useMutationState()

ts
function useMutationState<TResult>(options, queryClient?): TResult[];
function useMutationState<TResult>(options, queryClient?): TResult[];

Defined in: packages/svelte-query/src/useMutationState.svelte.ts:22

Type Parameters

TResult

TResult = MutationState<unknown, Error, unknown, unknown>

Parameters

options

MutationStateOptions<TResult> = {}

queryClient?

QueryClient

Returns

TResult[]