I feel like a more intuitive behaviour would be when the timeout is cleared when I cancel the promise. Like this when I cancel, I'm still getting the timeout errors which are not really what I was expecting when calling .cancel()
.
Maybe this is even an issue for p-timeout (to be able to clear the timeout from outside).
I'll happily help out with a PR here.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too