CacheableMutationResult
data class CacheableMutationResult<TData, TError : Throwable>(val fetchState: FetchState, val error: TError?, val data: TData?) : CacheableResultWithData<TData, TError>
Properties
Link copied to clipboard
val <TData, TError : Throwable> CacheableResultWithData<TData, TError>.cachedDataState: CacheAndFetchState
Convenience property to know if your cache already has data. This can be helpful with optimistic updates so that you don't always show a spinner if there is cache information already, but you are doing a fetch operation
Link copied to clipboard