(task: Task)
| 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) { |
no outgoing calls
no test coverage detected