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
Make the cancelation can be executed before the task is done (#11225)
* Make the file large enough so that the cancelation can be executed before the task is done
* Use StreamContent to indefinitely provide single char per couple dozens milliseconds
* Use a fake stream that provides a single character A~Z per a couple of milliseconds without high memory cost instead
* Correct the TimeSpan with Milliseconds
* Change the implementation of Read() in the fake stream with simple logic and add a comment
0 commit comments