Updates the value of "val" LWW-Register. The obj property specifies the "val" object on which to perform the operation. The value property is the value to apply to the object.

interface JsonCodecInsValOperation {
    obj: JsonCodecTimestamp;
    op: "ins_val";
    value: JsonCodecTimestamp;
}

Hierarchy (view full)

Properties

Properties

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_val"

Mnemonic.

The new value of the "val" LWW-Register object. The ID of the CRDT object to which the "val" LWW-Register will point to, if operation is successful.