interface IAtom {
    diffValue: number;
    isBeingObserved: boolean;
    isPendingUnobservation: boolean;
    lastAccessedBy: number;
    lowestObserverState: IDerivationState;
    name: string;
    observers: IDerivation[];
    observersIndexes: {};
    observing?: IObservable[];
    onBecomeObserved(): void;
    onBecomeUnobserved(): void;
    reportChanged(): any;
    reportObserved(): any;
}

Hierarchy (view full)

Properties

diffValue: number
isBeingObserved: boolean
isPendingUnobservation: boolean
lastAccessedBy: number

Id of the derivation run that last accessed this observable. If this id equals the run id of the current derivation, the dependency is already established

lowestObserverState: IDerivationState
name: string
observers: IDerivation[]
observersIndexes: {}
observing?: IObservable[]

Methods

  • Returns void

  • Returns any

  • Returns any