injectIsMutating

Function: injectIsMutating()

ts
function injectIsMutating(filters?, injector?): Signal<number>
function injectIsMutating(filters?, injector?): Signal<number>

Injects a signal that tracks the number of mutations that your application is fetching.

Can be used for app-wide loading indicators

Parameters

filters?: MutationFilters

The filters to apply to the query.

injector?: Injector

The Angular injector to use.

Returns

Signal<number>

signal with number of fetching mutations.

Defined in

inject-is-mutating.ts:16