dispatchRevalidateChunksResult

inline suspend fun <T, S> QueryCommand.Context<QueryChunks<T, S>>.dispatchRevalidateChunksResult(key: InfiniteQueryKey<T, S>, chunks: QueryChunks<T, S>, marker: Marker, noinline callback: QueryCallback<QueryChunks<T, S>>?)

Dispatches the result of revalidating data for the InfiniteQueryKey.

Receiver

QueryCommand.Context for InfiniteQueryKey.

Parameters

T

Type of data to retrieve.

S

Type of parameter.

key

Instance of a class implementing InfiniteQueryKey.

chunks

Data to revalidate.

marker

The marker with additional information based on the caller of a query.

callback

Callback to handle the result.