ProfessionalCSharp2021 icon indicating copy to clipboard operation
ProfessionalCSharp2021 copied to clipboard

Channel Async Streaming

Open szv opened this issue 2 years ago • 0 comments

In the example (shown below), the ChannelClosedException is caught when the channel is closed. This is not an exception, but the rule.
Instead, the channel reader can also be used in combination with async streaming.

https://github.com/ProfessionalCSharp/ProfessionalCSharp2021/blob/5b29a81a47683cb0ade58554260552bf0bd9d634/2_Libs/Parallel/ParallelSamples/ChannelSample/ChannelSample.cs#L26-L44

szv avatar Jan 02 '24 11:01 szv