From my understanding, .timeout()rejects a promise, not cancels it. But the whenever my timeout fires, I get a warning that says "cancellation is disabled". It appears that the timeout promise was rejected as expected.
Is there any difference with using .timeout() with cancellation disabled vs enabled? Why am I getting this warning?
The text was updated successfully, but these errors were encountered:
In my code, I'm not using
.cancel()
at all.From my understanding,
.timeout()
rejects a promise, not cancels it. But the whenever my timeout fires, I get a warning that says "cancellation is disabled". It appears that the timeout promise was rejected as expected.Is there any difference with using
.timeout()
with cancellation disabled vs enabled? Why am I getting this warning?The text was updated successfully, but these errors were encountered: