ContextFreeTask icon indicating copy to clipboard operation
ContextFreeTask copied to clipboard

separate responsibility

Open ufcpp opened this issue 8 years ago • 1 comments

Now, ContextFreeTask has two responsibilities:

  • await operations in the methods which return ContextFreeTask capture no context
  • await operations on ContextFreeTask capture no context

These should be separated.

used as a return type used on await operators
ContextFreeTask no no
? no yes
? yes no
System.Threading.Tasks.Task yes yes

ufcpp avatar Dec 15 '16 15:12 ufcpp

https://github.com/ufcpp/ContextFreeTask/pull/9

ufcpp avatar Dec 21 '16 13:12 ufcpp