associate

fun <K : Any, T : Any> associate(replicaProvider: (K) -> Replica<T>): KeyedReplica<K, T>

Creates KeyedReplica by providing Replica for each given key.