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

Method onInvoke

packages/zone.js/lib/zone-spec/proxy.ts:163–186  ·  view source on GitHub ↗
(
    parentZoneDelegate: ZoneDelegate,
    currentZone: Zone,
    targetZone: Zone,
    delegate: Function,
    applyThis: any,
    applyArgs?: any[],
    source?: string,
  )

Source from the content-addressed store, hash-verified

161 }
162
163 onInvoke(
164 parentZoneDelegate: ZoneDelegate,
165 currentZone: Zone,
166 targetZone: Zone,
167 delegate: Function,
168 applyThis: any,
169 applyArgs?: any[],
170 source?: string,
171 ): any {
172 this.tryTriggerHasTask(parentZoneDelegate, currentZone, targetZone);
173 if (this._delegateSpec && this._delegateSpec.onInvoke) {
174 return this._delegateSpec.onInvoke(
175 parentZoneDelegate,
176 currentZone,
177 targetZone,
178 delegate,
179 applyThis,
180 applyArgs,
181 source,
182 );
183 } else {
184 return parentZoneDelegate.invoke(targetZone, delegate, applyThis, applyArgs, source);
185 }
186 }
187
188 onHandleError(
189 parentZoneDelegate: ZoneDelegate,

Callers

nothing calls this directly

Calls 2

tryTriggerHasTaskMethod · 0.95
invokeMethod · 0.65

Tested by

no test coverage detected