Comment on You can't cancel a JavaScript promise (except sometimes you can)Comments−afarah15moYou can also race it with another promise, which e.g. resolves on timeout.−Keyframe5moYou can but it still won't get cancelled. I found out when I tried to implement a hard time limit to a call.
Comments
You can also race it with another promise, which e.g. resolves on timeout.
You can but it still won't get cancelled. I found out when I tried to implement a hard time limit to a call.