CacheableResultWithData

Extended result interface that includes data. All results with data (query, mutation, flow, infinite query) implement this.

Inheritors

Properties

Link copied to clipboard

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
abstract val data: TData?
Link copied to clipboard
abstract val error: TError?
Link copied to clipboard
abstract val fetchState: FetchState