Added CancellationToken optional parameter to all IO async functions #118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have noticed that none of the functions within this library accepted CancellationToken as a parameter. CancellationTokens are extremely common in asynchronous programming, and is best practice to include them.
Just some notes on the ConvertIntArraytoString function - this shouldn't be async, as it will run synchronously anyway, you can just return the
stringinstead ofTask<string>. Let me know if you would like me to refactor this in the same pull request.