rsdn / CodeJam

Set of handy reusable .NET components that can simplify your daily work and save your time when you copy and paste your favorite helper methods and classes from one project to another
MIT License
258 stars 35 forks source link

Add cancellation token support for asynchronous reading from a stream. #156

Closed TheSquidCombatant closed 8 months ago

TheSquidCombatant commented 8 months ago

Added cancellation token support for the operation of asynchronously reading a string from a stream.

Cancellation token native support for the StreamReader.ReadToEndAsync method has only appeared since .net7.

ghost commented 8 months ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/rsdn/CodeJam/156/b3b4c203/518032b920d322a27efb3cb564dfb6f4d72c8b75.svg)](https://app.codesee.io/r/reviews?pr=156&src=https%3A%2F%2Fgithub.com%2Frsdn%2FCodeJam) #### Legend CodeSee Map legend