rmapi-js
    Preparing search index...

    Interface SequenceItem<V>

    an element of a sequence, placed between the neighbors it was inserted between

    interface SequenceItem<V> {
        deletedLength: number;
        itemId: CrdtId;
        leftId: CrdtId;
        rightId: CrdtId;
        value?: V;
    }

    Type Parameters

    • V
    Index
    deletedLength: number

    how many ids an erased item takes

    itemId: CrdtId

    the item's own id

    leftId: CrdtId

    the neighbor to its left at insertion

    rightId: CrdtId

    the neighbor to its right at insertion

    value?: V

    the value, or none for an erased item