put

fun put(replica: ReplicaId, value: V, clock: Long): EphemeralMap<V>

Publish or update this replica's presence with value and the given clock.

Clock contract. The clock must be strictly greater than any previously published clock for replica. Use a monotonically-incrementing counter — the simplest valid source is currentClock + 1. Reusing a clock value produces non-deterministic outcomes on merge tie-break.