| 888 | |
| 889 | public run(callback: Function, applyThis?: any, applyArgs?: any[], source?: string): any; |
| 890 | public run<T>( |
| 891 | callback: (...args: any[]) => T, |
| 892 | applyThis?: any, |
| 893 | applyArgs?: any[], |
| 894 | source?: string, |
| 895 | ): T { |
| 896 | _currentZoneFrame = {parent: _currentZoneFrame, zone: this}; |
| 897 | try { |
| 898 | return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); |
| 899 | } finally { |
| 900 | _currentZoneFrame = _currentZoneFrame.parent!; |
| 901 | } |
| 902 | } |
| 903 | |
| 904 | public runGuarded(callback: Function, applyThis?: any, applyArgs?: any[], source?: string): any; |
| 905 | public runGuarded<T>( |