|
|
|
|
|
by jasallen
4236 days ago
|
|
I continue to find using explicit "Task<T>" types directly more intuitive. I've wedged in ASync/Await here and there to see if I felt good about it, but I never did. I would always find declaring a Task and attaching to it's ContinueWith (or whatever I needed ) to be more to my liking. |
|
Assuming you just want to propagate exceptions, you have to mess with TaskContinuationSource (I.e, promises) and be damn certain you have wired it into all the right places.
Async/await makes error handling much more uniform and "obviously correct" than stringing callbacks together.