Value

data class Value<out T>(val value: T) : TransactionValue<T>

A value that was known all along. Rarely written by hand; toTransactionValue is shorter.

Constructors

Link copied to clipboard
constructor(value: T)

Properties

Link copied to clipboard
val value: T

Functions

Link copied to clipboard
fun <IN, OUT> TransactionValue<IN>.map(transformation: (IN) -> OUT): TransactionValue<OUT>

Applies transformation to this value once it resolves.

Link copied to clipboard

Marks this map to be spread into parameters of its own rather than assigned to one.