Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • This would work. But I would rather not have to have two methods for all my async voids. I figured a way to do it (at least in my case). See my answer on this question if you are interested. Commented Jan 8, 2013 at 17:07
  • Nice - you've created the C# predecessor of github.com/btford/zone.js ZoneJS. Commented Feb 18, 2014 at 7:54
  • What is the benefit of awaiting DoLookupCommandImpl(idToLookup) in DoStuff(long idToLookUp)? What if it would be called without awaiting? Commented Jul 3, 2017 at 20:31
  • 2
    @jacekbe: awaiting the task observes exceptions; if you call it without await, then any failures are silently ignored. Commented Jul 3, 2017 at 20:50