revalidate
suspend fun <T, S> QueryCommand.Context<QueryChunks<T, S>>.revalidate(key: InfiniteQueryKey<T, S>, chunks: QueryChunks<T, S>): Result<QueryChunks<T, S>>
Revalidates the data for the InfiniteQueryKey using the value of chunks.
Receiver
Parameters
T
Type of data to retrieve.
S
Type of parameter.
key
Instance of a class implementing InfiniteQueryKey.
chunks
Data to revalidate.