Rejected

data class Rejected(val error: Throwable) : Loadable<Nothing>

Represents the state of a value that has been rejected.

Constructors

Link copied to clipboard
constructor(error: Throwable)

Properties

Link copied to clipboard
open override val error: Throwable
Link copied to clipboard
open override val errorUpdatedAt: Long
Link copied to clipboard
open override val reply: Reply<Nothing>
Link copied to clipboard
open override val replyUpdatedAt: Long = 0

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.