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

Replaced Command.CancelAsync with AsyncDisposable pattern #34

Merged
merged 1 commit into from
May 27, 2020

Conversation

adalon
Copy link
Collaborator

@adalon adalon commented May 23, 2020

No description provided.

@adalon adalon requested a review from kzu May 23, 2020 22:35
Copy link
Member

@kzu kzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the implementation now, I wonder if we shouldn't also support IDisposable for cancellations that don't require async work to cleanup (i.e. you're killing the Server process but not waiting for it to die, synchronously or asynchronously, meaning being "async" in that case is pointless...

@adalon adalon force-pushed the dev/adalon/AsyncDisposable branch 2 times, most recently from d726815 to e21d577 Compare May 27, 2020 01:22
@kzu kzu merged commit bfd0d94 into master May 27, 2020
@kzu kzu deleted the dev/adalon/AsyncDisposable branch May 27, 2020 01:28
@devlooped devlooped locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants