ProfessionalCSharp2021
ProfessionalCSharp2021 copied to clipboard
Channel Async Streaming
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