(
parentZoneDelegate: ZoneDelegate,
currentZone: Zone,
targetZone: Zone,
task: Task,
applyThis?: any,
applyArgs?: any[],
)
| 122 | } |
| 123 | |
| 124 | onInvokeTask( |
| 125 | parentZoneDelegate: ZoneDelegate, |
| 126 | currentZone: Zone, |
| 127 | targetZone: Zone, |
| 128 | task: Task, |
| 129 | applyThis?: any, |
| 130 | applyArgs?: any[], |
| 131 | ): any { |
| 132 | const source = task.source; |
| 133 | let scope = WtfZoneSpec.invokeTaskScope[source]; |
| 134 | if (!scope) { |
| 135 | scope = WtfZoneSpec.invokeTaskScope[source] = wtfEvents!.createScope( |
| 136 | `Zone:invokeTask:${source}(ascii zone)`, |
| 137 | ); |
| 138 | } |
| 139 | return wtfTrace!.leaveScope( |
| 140 | scope(zonePathName(targetZone)), |
| 141 | parentZoneDelegate.invokeTask(targetZone, task, applyThis, applyArgs), |
| 142 | ); |
| 143 | } |
| 144 | |
| 145 | onCancelTask( |
| 146 | parentZoneDelegate: ZoneDelegate, |
nothing calls this directly
no test coverage detected