Request with already cancelled CancelToken #2207
Replies: 1 comment
-
Implemented in #2251. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does a server request still get initiated if an already-cancelled CancelToken is passed along with the request?
cancelToken.isCancelled // true
I've briefly looked through the code and didn't find any places like that
if (cancelToken?.cancelError != null) throw cancelToken!.cancelError!;
And if my assumption is correct, a server request always gets initiated. And then immediately gets cut off.
Beta Was this translation helpful? Give feedback.
All reactions