react-code-dataset / react-query /docs /framework /angular /reference /functions /injectmutationstate.md
|
Download react-query/docs/framework/angular/reference/functions/injectmutationstate.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 866 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/angular/reference/functions/injectmutationstate.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/angular/reference/functions/injectmutationstate.md
-
curl -L -o injectmutationstate.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/docs/framework/angular/reference/functions/injectmutationstate.md
866 Bytes
metadata
id: injectMutationState
title: injectMutationState
Function: injectMutationState()
function injectMutationState<TResult>(
injectMutationStateFn,
options?,
): Signal<TResult[]>
Injects a signal that tracks the state of all mutations.
Type Parameters
• TResult = MutationState<unknown, Error, unknown, unknown>
Parameters
injectMutationStateFn
() => MutationStateOptions<TResult>
A function that returns mutation state options.
options?
The Angular injector to use.
Returns
Signal<TResult[]>
The signal that tracks the state of all mutations.