MCPcopy Index your code
hub / github.com/angular/angular / onIntercept

Method onIntercept

packages/zone.js/lib/zone-spec/proxy.ts:143–161  ·  view source on GitHub ↗
(
    parentZoneDelegate: ZoneDelegate,
    currentZone: Zone,
    targetZone: Zone,
    delegate: Function,
    source: string,
  )

Source from the content-addressed store, hash-verified

141 }
142
143 onIntercept(
144 parentZoneDelegate: ZoneDelegate,
145 currentZone: Zone,
146 targetZone: Zone,
147 delegate: Function,
148 source: string,
149 ): Function {
150 if (this._delegateSpec && this._delegateSpec.onIntercept) {
151 return this._delegateSpec.onIntercept(
152 parentZoneDelegate,
153 currentZone,
154 targetZone,
155 delegate,
156 source,
157 );
158 } else {
159 return parentZoneDelegate.intercept(targetZone, delegate, source);
160 }
161 }
162
163 onInvoke(
164 parentZoneDelegate: ZoneDelegate,

Callers

nothing calls this directly

Calls 1

interceptMethod · 0.65

Tested by

no test coverage detected