MCPcopy
hub / github.com/angular/angular / fork

Method fork

packages/zone.js/lib/zone-impl.ts:873–876  ·  view source on GitHub ↗
(zoneSpec: ZoneSpec)

Source from the content-addressed store, hash-verified

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') {

Callers

nothing calls this directly

Calls 1

forkMethod · 0.65

Tested by

no test coverage detected