feat(NgZone): isStable

Closes #8108
This commit is contained in:
PatrickJS 2016-04-16 11:09:30 -07:00 committed by Misko Hevery
parent 3019140e7e
commit 587c119c75
1 changed files with 5 additions and 0 deletions

View File

@ -176,6 +176,11 @@ export class NgZone {
* Notify that an error has been delivered. * Notify that an error has been delivered.
*/ */
get onError(): EventEmitter<any> { return this._onErrorEvents; } get onError(): EventEmitter<any> { return this._onErrorEvents; }
/**
* Whether there are no outstanding microtasks or microtasks.
*/
get isStable(): boolean { return this._isStable; }
/** /**
* Whether there are any outstanding microtasks. * Whether there are any outstanding microtasks.