map

fun <T, R> TickingValue<T>.map(transform: (T) -> R): TickingValue<R>(source)

Transforms the TickingValue.value from this instance from type T to R using transform and returns a new TickingValue with it and the same TickingValue.nextTick.