DoOnEvent

fun <T : Any> DoOnEvent(action: suspend PhysicalReplica<T>.(event: ReplicaEvent<T>) -> Unit)