useMutationState

Function: useMutationState()

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

Type Parameters

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

Parameters

options: MutationStateOptions<TResult> = {}

queryClient?: QueryClient

Returns

Readable<TResult[]>

Defined in

packages/svelte-query/src/useMutationState.ts:24