Invalidate
class Invalidate<T, S>(key: InfiniteQueryKey<T, S>, revision: String, marker: Marker = Marker.None, callback: QueryCallback<QueryChunks<T, S>>? = null) : InfiniteQueryCommand<T, S>
Invalidates the data and performs data fetching and validation based on the current data state.
This command is invoked via InfiniteQueryRef when the data is invalidated.
Parameters
key
Instance of a class implementing InfiniteQueryKey.
revision
The revision of the data to be invalidated.
marker
The marker with additional information based on the caller of a query.
callback
The callback to receive the result of the query.
Constructors
Link copied to clipboard
constructor(key: InfiniteQueryKey<T, S>, revision: String, marker: Marker = Marker.None, callback: QueryCallback<QueryChunks<T, S>>? = null)