logoalt Hacker News

afarah1today at 3:28 PM1 replyview on HN

You can also race it with another promise, which e.g. resolves on timeout.


Replies

Keyframetoday at 4:34 PM

You can but it still won't get cancelled. I found out when I tried to implement a hard time limit to a call.