@dxos/echo
    Preparing search index...

    Function getVersion

    • Get an immutable snapshot of the object at the given historical heads — a detached instance, not a pin on the live object. Only the surface that asks for it sees the historical value; the live object and every other surface are unaffected. The functional alternative to a read-time-travel pin.

      Type Parameters

      Parameters

      • obj: T
      • heads: readonly string[]

      Returns Obj.Snapshot<T>

      O(object size) plus the Automerge cost of viewing the document at heads; nothing is cached.