@dxos/echo
    Preparing search index...

    Variable atomConst

    atom: <T>(
        target: Entity.Unknown,
        annotation: Annotation.Annotation<T>,
    ) => Atom<Option<T>> = annotationAtoms.makeAtom

    Reactive atom for an annotation value on an entity instance. Fires only when the annotation value changes (mirrors Obj.atom, scoped to one annotation).

    Type declaration

      • <T>(
            target: Entity.Unknown,
            annotation: Annotation.Annotation<T>,
        ): Atom<Option<T>>
      • Reactive atom for an annotation value on an entity instance. Emits a deep snapshot (fresh references for objects and arrays at every depth) so dependent atoms recompute on change. Mirrors makeProperty.

        Type Parameters

        • T

        Parameters

        Returns Atom<Option<T>>

    O(1) memoized atom-family lookup; re-reads the annotation on every entity change.