InfiniteQueryCommands

Types

Link copied to clipboard
class Connect<T, S>(key: InfiniteQueryKey<T, S>, revision: String? = null, marker: Marker = Marker.None, callback: QueryCallback<QueryChunks<T, S>>? = null) : InfiniteQueryCommand<T, S>

Performs data fetching and validation based on the current data state.

Link copied to clipboard
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.

Link copied to clipboard
class LoadMore<T, S>(key: InfiniteQueryKey<T, S>, param: S, marker: Marker = Marker.None, callback: QueryCallback<QueryChunks<T, S>>? = null) : InfiniteQueryCommand<T, S>

Fetches additional data for InfiniteQueryKey using param.