Skip to main content

NotifyEvent

还没翻译译自英文(tanstack.com)本页 5 段都还没译

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

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'.