Fulfilled

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

Deprecated

This implementation is deprecated. Please use the new implementation from soil-reacty module instead.

Replace with

import soil.plant.compose.reacty.Loadable
Loadable.Fulfilled(data)

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.