框架
版本

injectIsFetching

函数:injectIsFetching()

ts
function injectIsFetching(filters?, options?): Signal<number>
function injectIsFetching(filters?, options?): Signal<number>

注入一个信号,该信号可跟踪应用程序在后台加载或获取的查询数量。

可用于应用范围内的加载指示器

参数

filters?

QueryFilters<readonly unknown[]>

要应用于查询的筛选器。

options?

InjectIsFetchingOptions

附加配置

Returns (返回)

Signal<number>

包含加载或获取查询数量的信号。

定义于

inject-is-fetching.ts:32