An observer of the query delivered a new result to its listeners. Emitted
once per delivery, after the listeners have run, so a devtools panel can
mirror what the UI just saw. TanStack Query calls this event
observerResultsUpdated.
- Inheritance
-
- Object
- QueryCacheEvent
- QueryObserverResultsUpdated
Constructors
-
QueryObserverResultsUpdated(Query<
Object?> query) -
Creates the event for
query.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
query
→ Query<
Object?> -
The query the event is about. Typed as
Query<Object?>, since a cache listener sees every key; readdataTypeorget<T>it from the cache to recover the concrete type.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited