Optional_Identifies this object as an observer of other observables. Assigned on first use.
OptionalpayloadStops observing every object held in an @observable field. Call when this object is no longer needed.
Reusable
Observing other observables
@observable(['fieldA', 'fieldB']) other!: OtherObservable on an
HsObservable subclass observes those fields of other, the same way the
decorator does on a view. Changes arrive in onObservableFieldUpdated.
OptionalfieldFilters: string[]Observes again after dispose(), using the objects currently held in the @observable fields.
Assignment to an @observable field: observe the new object and notify this object's own observers.
Optionalvalue: HsObservable
The
HsActionclass represents an action in the system. It extends theHsObservableclass and implements theIHsActioninterface. The class provides a way to manage the state and type of actions within the application. It includes properties for the action type, payload, and current state.