Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added default CancellationTokens to common methods (fixes #663) #674

Merged
merged 1 commit into from Mar 3, 2020

Conversation

Mrxx99
Copy link
Contributor

@Mrxx99 Mrxx99 commented Feb 28, 2020

This adds default CancellationTokens to many common methods that are likely to be called by the user of this library (I did not add it to the event like methods like OnInitalized).
This fixes #663
Since for some mehtods there was already a overload without a CancellationToken I tried to be consistent inside a class. That means if the class already conatined such overloads for some methods I did add overloads without CancellationToken for the remaining ones in this class, otherwise I provided a default value for the existing declarations.

@nigel-sampson
Copy link
Contributor

Thanks for this. Will review when I can.

@nigel-sampson nigel-sampson merged commit 9c69650 into Caliburn-Micro:master Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default CancellationToken for async methods
2 participants