@sovereignbase/sequencer
    Preparing search index...

    Function snapshot

    • Captures materialized Strips in Head-to-Tail order, then pending Strips.

      Copies the flat Projection and its ordered Footage spans into independent arrays. Materialized Masks retain their soft-deleted content; released values remain undefined. Pending inserts carry Footage, while unresolved Mask commands do not yet own the content they address.

      Type Parameters

      • T

      Parameters

      • state: Replica<T>

        Replica whose complete retained state is captured.

      Returns Delta<T>

      A trusted snapshot with snapshot-local links and packed Footage.

      Issues no SequencePoints and does not change the source Footage. Array storage is copied; consumer-owned values are not deep-cloned. Both transfer buffers are cleared after their contents have been consumed.