FetchSuccess

data class FetchSuccess<T>(val data: T, val dataUpdatedAt: Long, val dataStaleAt: Long) : QueryAction<T>

Indicates that the query is successful.

Parameters

data

The data to be updated.

dataUpdatedAt

The timestamp when the data was updated.

dataStaleAt

The timestamp when the data becomes stale.

Constructors

Link copied to clipboard
constructor(data: T, dataUpdatedAt: Long, dataStaleAt: Long)

Properties

Link copied to clipboard
val data: T
Link copied to clipboard
Link copied to clipboard