Thanks - yes that's possible - however in that case the AbortController instance basically acts like a boolean flag. 😅
it can be helpful in certain scenarios though. if you are working with a lot of Promises - I'd recommend checking out npmjs.com/package/cancelable-promise
Thanks - yes that's possible - however in that case the
AbortController
instance basically acts like a boolean flag. 😅it can be helpful in certain scenarios though. if you are working with a lot of Promises - I'd recommend checking out npmjs.com/package/cancelable-promise
Whoah, that library looks like just what I was looking for. Thanks!