@dxos/echo
    Preparing search index...

    Variable getSnapshotConst

    getSnapshot: <T extends Obj.Unknown>(obj: T) => Obj.Snapshot<T> = ...

    Returns an immutable snapshot of an object. The snapshot is branded with SnapshotKindId instead of KindId, making it distinguishable from the reactive object at the type level.

    Type declaration

    O(n) in entity size; deep-copies plain data (refs are shared, not resolved) into a frozen object per call.