Async CTP and timeouts

I started watching Jon Skeet's presentation on C# Async CTP. He stuttered when it came to specifying timeouts.

Coming from fairly limited exposure to F#, there is an intuitive, centralized, and simple way to specify timeouts. So, I am wondering what is the current state of affairs: can C# Async CTP do all the things that F# async block runner does? Is there a document that outlines differences and limitations?


Additional details: In F#, the async block runner provides a way to specify the following:

  1. Exception flow
  2. Timeout flow
  3. Cancellation flow
  4. Extensibility to the above three features

Here's a way to do these things in F#: Порядок аргументов и оператор вертикальной черты

7
задан Community 23 May 2017 в 12:25
поделиться