-
Notifications
You must be signed in to change notification settings - Fork 288
feature: async #1492
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
feature: async #1492
Conversation
3ec92cc
to
079ba14
Compare
This PR will not be merged until version |
I think the function name
|
Please do not create anthor PR until reviewing complete in |
Can I continue working in the |
* Async command methods * Async `Task.Run` where possible * Remove redundant `Task.Run` in `Sure` methods * Remove leftover braces and reformat * Async event handlers as needed
* Async command methods * Async `Task.Run` where possible * Remove redundant `Task.Run` in `Sure` methods * Remove leftover braces and reformat * Async event handlers as needed
- Remove all synchronous method in commands - `Command.ReadToEndAsync` now is protected method - Rename `ResultAsync` to `GetResultAsync` - Call `ConfigureAwait(false)` when there's no context Signed-off-by: leo <[email protected]>
I've decided to directly merge the |
Sure, I'll play with it tomorrow. |
This is the first step in the async/await refactoring discussed in #1439. I was planning to submit all the work in a single PR but it's a wide reaching change that would be very time consuming to code review. Better to make the async transition in a few more manageable steps.