TanStack
API Reference

NotifyEvent

Defined in: packages/query-core/src/types.ts:2428

The base shape of the events that the query and mutation caches send to their listeners.

Properties

PropertyTypeDescription
type| "added" | "removed" | "updated" | "observerAdded" | "observerRemoved" | "observerResultsUpdated" | "observerOptionsUpdated"The kind of event, e.g. 'added', 'removed', or 'updated'.