Skip to content

Replaced Command.CancelAsync with AsyncDisposable pattern#34

Merged
kzu merged 1 commit intomasterfrom
dev/adalon/AsyncDisposable
May 27, 2020
Merged

Replaced Command.CancelAsync with AsyncDisposable pattern#34
kzu merged 1 commit intomasterfrom
dev/adalon/AsyncDisposable

Conversation

@adalon
Copy link
Copy Markdown
Contributor

@adalon adalon commented May 23, 2020

No description provided.

@adalon adalon requested a review from kzu May 23, 2020 22:35
Copy link
Copy Markdown
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