(zoneSpec: ZoneSpec)
| 871 | } |
| 872 | |
| 873 | public fork(zoneSpec: ZoneSpec): AmbientZone { |
| 874 | if (!zoneSpec) throw new Error('ZoneSpec required!'); |
| 875 | return this._zoneDelegate.fork(this, zoneSpec); |
| 876 | } |
| 877 | |
| 878 | public wrap<T extends Function>(callback: T, source: string): T { |
| 879 | if (typeof callback !== 'function') { |