@sovereignbase/sequencer
    Preparing search index...

    Function remove

    • Deletes the half-open visible range [start_index, end_index) by masking it.

      Native update issues one Mask for each containing Strip crossed by the range. Each update reports its actual bounded length and retained Footage span. The returned Delta contains flat Mask encodings and no new Footage. A hard deletion also releases the corresponding JavaScript Footage immediately. Released entries become undefined; the Footage array is not compacted, so all retained indexes stay stable.

      Type Parameters

      • T

        Consumer-owned value represented by one Frame.

      Parameters

      • state: Replica<T>

        Replica whose visible values are deleted.

      • start_index: number = 0

        Index of the first value to delete.

      • Optionalend_index: number

        Boundary immediately after the final value to delete; defaults to the current length.

      • hard: boolean = false

        Whether to release deleted values immediately instead of retaining them for recovery until garbage collection.

      Returns false | Delta<T>

      The transferable Delta, or false when the requested range is invalid or empty, or the first issuance is rejected. If a later issuance is rejected, returns the accepted prefix Delta.