SwrClient
An all-in-one SwrClient integrating MutationClient and QueryClient for library users.
Swr stands for "stall-while-revalidate".
Inheritors
Properties
Functions
Link copied to clipboard
Releases data in memory based on the specified level.
Link copied to clipboard
abstract fun <T, S> getInfiniteQuery(key: InfiniteQueryKey<T, S>, marker: Marker = Marker.None): InfiniteQueryRef<T, S>
Gets the InfiniteQueryRef by the specified InfiniteQueryKey.
Link copied to clipboard
abstract fun <T, S> getMutation(key: MutationKey<T, S>, marker: Marker = Marker.None): MutationRef<T, S>
Gets the MutationRef by the specified MutationKey.
Link copied to clipboard
Executes side effects for queries.
Link copied to clipboard
abstract fun <T, S> prefetchInfiniteQuery(key: InfiniteQueryKey<T, S>, marker: Marker = Marker.None): Job
Prefetches the infinite query by the specified InfiniteQueryKey.
Link copied to clipboard