map

fun <T : Any, R : Any> Replica<T>.map(transform: (T) -> R): Replica<R>

Transforms replica data with a transform function.


fun <K : Any, T : Any, R : Any> KeyedReplica<K, T>.map(transform: (T) -> R): KeyedReplica<K, R>

Transforms keyed replica data with a transform function.