QueryAction
Query actions are used to update the query state.
Parameters
T
Type of the return value from the query.
Inheritors
Types
Link copied to clipboard
data class FetchFailure(val error: Throwable, val errorUpdatedAt: Long, val paused: QueryFetchStatus.Paused? = null) : QueryAction<Nothing>
Indicates that the query has failed.
Link copied to clipboard
Indicates that the query is fetching data.
Link copied to clipboard
data class FetchSuccess<T>(val data: T, val dataUpdatedAt: Long, val dataStaleAt: Long) : QueryAction<T>
Indicates that the query is successful.
Link copied to clipboard
Forces the query to update the data.
Link copied to clipboard
Invalidates the query.