Skip to content
0

katanakit-js / QueryCacheNotifyEvent

Type Alias: QueryCacheNotifyEvent ​

ts
type QueryCacheNotifyEvent = 
  | NotifyEventQueryAdded
  | NotifyEventQueryRemoved
  | NotifyEventQueryUpdated
  | NotifyEventQueryObserverAdded
  | NotifyEventQueryObserverRemoved
  | NotifyEventQueryObserverResultsUpdated
  | NotifyEventQueryObserverOptionsUpdated;

Defined in: node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:1119

The event passed to a QueryCache subscriber. Fired whenever a query is added or removed from the cache, its state is updated (e.g. via query.setState or queryClient.removeQueries), or one of its observers is added, removed, or has its results or options updated.

Released under the MIT License.