function injectMutationState<TResult>(
mutationStateOptionsFn,
options?,
): Signal<TResult[]>
function injectMutationState<TResult>(
mutationStateOptionsFn,
options?,
): Signal<TResult[]>
Injects a signal that tracks the state of all mutations.
• TResult = MutationState<unknown, Error, unknown, unknown>
• mutationStateOptionsFn = ...
A function that returns mutation state options.
• options?: InjectMutationStateOptions
The Angular injector to use.
Signal<TResult[]>
The signal that tracks the state of all mutations.