QueuedUpdate

class QueuedUpdate<T>(update: Update<T>, errorHandler: (Throwable, T) -> T)

Type of elements in the update-queue of a Store

Constructors

QueuedUpdate
Link copied to clipboard
js
fun <T> QueuedUpdate(update: Update<T>, errorHandler: (Throwable, T) -> T)

Functions

equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
toString
Link copied to clipboard
js
open fun toString(): String

Properties

errorHandler
Link copied to clipboard
js
val errorHandler: (Throwable, T) -> T
describes the handling of errors during an update and the new value in case of error
update
Link copied to clipboard
js
val update: Update<T>
function describing the step from the old value to the new