@dxos/echo
    Preparing search index...

    Variable atomPropertyConst

    atomProperty: <V>(
        target: Entity.Unknown,
        annotation: Annotation.Annotation<Record<string, V>>,
        key: string,
    ) => Atom<undefined | V> = annotationAtoms.makeProperty

    Reactive atom for a single key of a record-valued annotation on an entity instance. Reactivity is scoped to that key, and the value type is preserved (mirrors Obj.atomProperty).

    Type declaration

      • <V>(
            target: Entity.Unknown,
            annotation: Annotation.Annotation<Record<string, V>>,
            key: string,
        ): Atom<undefined | V>
      • Reactive atom for a single key of a record-valued annotation on an entity instance.

        Type Parameters

        • V

        Parameters

        Returns Atom<undefined | V>

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