4 ms·
It's worth noting that C#'s async/await is based directly on promises; they are called `Task<T>` in .NET. Indeed, they share a common ancestor I believe; .NET 4
by domenicd 13y ago
It's worth noting that C#'s async/await is based directly on promises; they are called `Task<T>` in .NET. Indeed, they share a common ancestor I believe; .NET 4.5's `Task<T>` is derived from F#'s `Async<T>`, and both `Async<T>` and JavaScript promises are based on E's promises.
- martingordon 13y agoYeah, I think the big difference for me is the language support. You can just await a method call instead of having to wrap the remainder of your block in a function. Perhaps I should look into IcedCoffeeScript (http://maxtaco.github.io/coffee-script/ http://maxtaco.github.io/coffee-script/) instead of plain CS.