- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 12 Sep 2019 22:28:52 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 September 2019 05:29:15 UTC
Yes, I strongly recommend replacing the `.cancel()` with an `AbortController`-based design. In fact I think the design could be changed to just return promises, moving other manipulation methods to a subclass of the `AbortController` (similar to our plans for `FetchController`). This would allow eliminating the `Task` class altogether, which IMO would be a big simplification for the platform, as right now `Task` occupies much of the same design space as `Promise`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/338#issuecomment-531103451
Received on Friday, 13 September 2019 05:29:15 UTC