Transformed
class Transformed<IN, out OUT>(val source: TransactionValue<IN>, val transform: (IN) -> OUT) : TransactionValue<OUT>
Another value with a function applied to it, run when that value is resolved.
Parameters
source
Where the input comes from.
transform
What to do to it.
Properties
Functions
Link copied to clipboard
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.