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

Method cancelTask

packages/zone.js/lib/zone-impl.ts:298–298  ·  view source on GitHub ↗

* Allows the zone to intercept canceling of scheduled Task. * * The interception is configured using [ZoneSpec.onCancelTask]. The default canceler invokes * the [Task.cancelFn]. * * @param task * @returns {any}

(task: Task)

Source from the content-addressed store, hash-verified

296 * @returns {any}
297 */
298 cancelTask(task: Task): any;
299}
300
301export declare interface ZoneType {

Callers 15

runTaskMethod · 0.65
cancelTaskMethod · 0.65
initZoneFunction · 0.65
patchXHRFunction · 0.65
patchErrorFunction · 0.65
onAbortFunction · 0.65
patchEventTargetMethodsFunction · 0.65
patchTimerFunction · 0.65
onCancelTaskMethod · 0.65
clearEventsMethod · 0.65
onCancelTaskMethod · 0.65
onCancelTaskMethod · 0.65

Implementers 1

ZoneImplpackages/zone.js/lib/zone-impl.ts

Calls

no outgoing calls

Tested by

no test coverage detected