When my request is running, and I cancel it, cancellation request was not received to server.
Moreover, I feel like it would be more intuitive to also add a nice "Cancel" button under the spinny thingie when request is being sent.
I simulated this on my .NET Core 8 minimal API, using MediatR and tried passing the cancellation token to my process but my interface did not receive a token. I simulated a long running process my running a loop of 10-, 1 second tasks using await Task.Delay(1000, cancelToken) and then logging this to the diagnostics console. I tried to throw and catch cancellation but did not receive a request even after pressing the "X" in Yaap and also saw the "Request was cancelled" message in Yaap. Hope this helps.
P.S. I got notification saying there was a reply to 2 of my comments on this site here, but I don't see any replied when I go to the post.
Please authenticate to join the conversation.
Needs Triage
Feedback
Bug
About 2 years ago

Ahmed Ifhaam
Get notified by email when there are changes.
Needs Triage
Feedback
Bug
About 2 years ago

Ahmed Ifhaam
Get notified by email when there are changes.