Fulfilled

data class Fulfilled<T>(val data: T) : Loadable<T>

Represents the state of a value that has been loaded.

Constructors

Link copied to clipboard
constructor(data: T)

Properties

Link copied to clipboard
val data: T
Link copied to clipboard
open override val error: Throwable? = null
Link copied to clipboard
open override val errorUpdatedAt: Long = 0
Link copied to clipboard
open override val reply: Reply<T>
Link copied to clipboard
open override val replyUpdatedAt: Long

Functions

Link copied to clipboard
open override fun isAwaited(): Boolean
Link copied to clipboard

Returns a DataModel that represents no data.

Link copied to clipboard

Returns a DataModel that represents pending data.