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