onExistingReplica

abstract suspend fun onExistingReplica(key: K, action: suspend PhysicalReplica<T>.() -> Unit)

Executes an action on a PhysicalReplica with a given key. If the replica doesn't exist the action is not executed.