Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

NotifyEvent.md

14 lines602 Bytes

1---
2id: NotifyEvent
3title: NotifyEvent
4---
5​
6Defined in: [packages/query-core/src/types.ts:2434](https://github.com/TanStack/query/blob/main/packages/query-core/src/types.ts#L2434)
7​
8The base shape of the events that the query and mutation caches send to their listeners.
9​
10## Properties
11​
12| Property | Type | Description |
13| ------ | ------ | ------ |
14| <a id="property-type"></a> `type` | \| `"added"` \| `"removed"` \| `"updated"` \| `"observerAdded"` \| `"observerRemoved"` \| `"observerResultsUpdated"` \| `"observerOptionsUpdated"` | The kind of event, e.g. `'added'`, `'removed'`, or `'updated'`. |