Skip to content

remove context-free awaiters - #9

Merged
ufcpp merged 3 commits into
masterfrom
new0.3
Dec 21, 2016
Merged

ufcpp merged 3 commits into
masterfrom
new0.3

Conversation

@ufcpp

@ufcpp ufcpp commented Dec 21, 2016

Copy link
Copy Markdown
Owner

I decided to make a breaking change. Context-free awaiters are removed. ContextFreeTask used to have two responsibility:

  • ignore the synchronization context on await in the method which return type is ContextFreeTask
  • ignore the synchronization context on await for ContextFreeTask

From now, the responsibility of ContextFreeTask is only the first one.

For the purpose of the second, you should use `Task.ConfigureAwait(false).

@ufcpp ufcpp mentioned this pull request Dec 21, 2016
@acple

acple commented Dec 21, 2016

Copy link
Copy Markdown
Contributor

👍

@ufcpp
ufcpp merged commit b0d4377 into master Dec 21, 2016
@ufcpp
ufcpp deleted the new0.3 branch December 21, 2016 14:40
@AgentFire

Copy link
Copy Markdown

This is completely accurate, predictable and expected, you did a good one.

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.

3 participants