mrak1990
mrak1990
> The token itself is effectively "owned/borrowed" by the caller, and instead of a try catch, you simply call `token.ThrowIfCancellationRequested()`. I'm not sure I got the idea right. In the...
LGTM As I understand, the changes to `ReadUntilCancelledAsync`/`ReadAllAsEnumerablesAsync` (`WaitToReadOrCancelAsync -> WaitToReadAsync`) change the behaviour on explicit cancellation. Now these methods throw `OperationCancelledException` if the token passed above in chain is...
I found another example of incorrect behavior when throwing `OperationCancelledException`. ```csharp ValueTask AsyncReceiver() { throw new OperationCanceledException("test exception"); } // OK, throw exception _ = await Enumerable.Repeat(0, 10) .ToChannel() .ReadAllAsync(async...
I have the same bug with 18.7.
@crschnick I will try to find way how to reproduce bug. I encounter this bug almost every day.