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

Method removeFromTasks

packages/zone.js/lib/zone-spec/proxy.ts:97–107  ·  view source on GitHub ↗
(task: Task)

Source from the content-addressed store, hash-verified

95 }
96
97 removeFromTasks(task: Task) {
98 if (!this.tasks) {
99 return;
100 }
101 for (let i = 0; i < this.tasks.length; i++) {
102 if (this.tasks[i] === task) {
103 this.tasks.splice(i, 1);
104 return;
105 }
106 }
107 }
108
109 getAndClearPendingTasksInfo() {
110 if (this.tasks.length === 0) {

Callers 2

onInvokeTaskMethod · 0.95
onCancelTaskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected