MCPcopy Create free account
hub / github.com/angular/angular / run

Method run

packages/zone.js/lib/zone-impl.ts:885–897  ·  view source on GitHub ↗
(
      callback: (...args: any[]) => T,
      applyThis?: any,
      applyArgs?: any[],
      source?: string,
    )

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.65

Tested by

no test coverage detected