137
// IObserver implementation
138
public beginUpdate(_observable: IObservable<any>): void {
140
>
this._checkIterations();
141
>
this._state = AutorunState.dependenciesMightHaveChanged;
142
>
}
143
>
this._updateCount++;
144
>
}
145
146
public endUpdate(_observable: IObservable<any>): void {
148
>
if (this._updateCount === 1) {
149
>
this._iteration = 1;
150
>
do {
151
>
if (this._checkIterations()) {
152
return;
153
}
154
>
if (this._state === AutorunState.dependenciesMightHaveChanged) {
autorunImpl.ts
155
this._state = AutorunState.upToDate;
156
for (const d of this._dependencies) {