@dxos/echo
    Preparing search index...

    Function getReactiveOption

    • Like Obj.getReactive but returns Option.none() instead of failing 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 Effect<Option<T>, never>

      Effect that succeeds with Option.some(reactive) or Option.none().

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