DEV Community

Discussion on: Aborting a signal: How to cancel an asynchronous task in JavaScript

Collapse
 
comandeer profile image
Tomasz Jakut

I don’t exactly understand what you mean by setting timeout directly on AbortController. Its API does not provide such functionality, timeout must be set sepearately and then just invoke appropriate method on AbortController.

Collapse
 
rhymes profile image
rhymes

You actually answered to my question, thanks!