Operation which inserts elements into an "arr" RGA array data type.

interface JsonCodecInsArrOperation {
    after: JsonCodecTimestamp;
    obj: JsonCodecTimestamp;
    op: "ins_arr";
    values: JsonCodecTimestamp[];
}

Hierarchy (view full)

Properties

Properties

Specifies the ID of element after which to attempt to insert the elements using the RGA algorithm.

Object on which to perform the operation.

For "val" CRDT object, if omitted, or set to falsy value, or equal to origin [0, 0], the "set" operation is applied to the root object, which is LWW Register of a pointer to another CRDT data type.

op: "ins_arr"

Mnemonic.

Values to insert in the array.