NgZone

Experimental

Class

Class Overview

class NgZone {
staticisInAngularZone() : boolean
staticassertInAngularZone() : void
staticassertNotInAngularZone() : void
constructor({enableLongStackTrace = false}: any)

run(fn: () => any) : any
runGuarded(fn: () => any) : any
runOutsideAngular(fn: () => any) : any
onUnstable : EventEmitter<any>
onMicrotaskEmpty : EventEmitter<any>
onStable : EventEmitter<any>
onError : EventEmitter<any>
isStable : boolean
hasPendingMicrotasks : boolean
hasPendingMacrotasks : boolean

}

Class Description

Constructor

constructor({enableLongStackTrace = false}: any)

Static Members

Class Details

exported from @angular/core/index, defined in @angular/core/src/zone/ng_zone.ts