dispatchFetchChunksResult

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

Dispatches the result of fetching 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.

variable

Value of the parameter required for fetching data for InfiniteQueryKey.

marker

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

callback

Callback to handle the result.