You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a little bit strange to me. How should I organize code in this case? What was the reason for this behavior? Isn't it better to interrupt the first call (with notification to call action) and start processing the second one... and ignore the first one result?
The text was updated successfully, but these errors were encountered:
this is actually how it is meant to be. Interrupting an async function isn't possible you would need to pass a cancellation token and the async function would have to check that periodically.
Here is a code to reproduce:
It's a little bit strange to me. How should I organize code in this case? What was the reason for this behavior? Isn't it better to interrupt the first call (with notification to call action) and start processing the second one... and ignore the first one result?
The text was updated successfully, but these errors were encountered: