QueryReadonlyClient

Interface for directly accessing retrieved Query data by QueryClient.

QueryInitialData is designed to calculate initial data from other Query. This is useful when the type included in the list on the overview screen matches the type of content on the detailed screen.

Inheritors

Functions

Link copied to clipboard
abstract fun <T, S> getInfiniteQueryData(id: InfiniteQueryId<T, S>): QueryChunks<T, S>?

Retrieves data of the InfiniteQueryKey associated with the id.

Link copied to clipboard
abstract fun <T> getQueryData(id: QueryId<T>): T?

Retrieves data of the QueryKey associated with the id.