insertAt

fun insertAt(replica: ReplicaId, index: Int, value: V): Pair<Rga<V>, RgaOp.Insert<V>>

Insert value at visible position index (0 = prepend before first visible element). Computes the after id from the current visible sequence.

Throws

if index is outside 0..size.