mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Currently, there's no check if the task (that is being canceled) has the right state. Only `scheduled` and `running` tasks can be canceled. If the task has a non-appropriate state, then an error will be thrown. Cancelation should not throw an error on an already canceled task, e.g. `clearTimeout` does not throw errors when it's called multiple times on the same timer. PR Close #45711 PR Close #46435 |
||
|---|---|---|
| .. | ||
| Error.spec.ts | ||
| fetch.spec.ts | ||
| microtasks.spec.ts | ||
| promise-disable-wrap-uncaught-promise-rejection.spec.ts | ||
| Promise.spec.ts | ||
| setInterval.spec.ts | ||
| setTimeout.spec.ts | ||
| task.spec.ts | ||
| toString.spec.ts | ||
| util.spec.ts | ||
| zone.spec.ts | ||