3 ms·
AbortController
- imbnwa 5y agoMaybe A+ promises are the wrong abstraction https://github.com/mitranim/posterus https://github.com/mitranim/posterus In the case of the article, we're not going to do anything more with the Promise references returned by those fetch calls, but it seems Promises are designed to accommodate an additional use case where that might be useful but which comes at a cost, like handling cancelation out of the box on a general level.