@dxos/echo
    Preparing search index...

    Function getReactiveOrThrow

    • Synchronous version of Obj.getReactive. Returns the reactive object or throws GetReactiveError when the object cannot be resolved (no database, object not found).

      Type Parameters

      Parameters

      • snapshot: Obj.Snapshot<T>

        A snapshot of the object (from Obj.getSnapshot).

      Returns T

      The reactive object.

      When the object cannot be resolved.

      O(1) working-set lookup by id; never loads from disk.