c#-5.0
Continuations using Async CTP
Is it possible to use Async CTP to emulate continuations and tail 开发者_如何学运维recursion?[详细]
2023-02-25 02:33 分类:问答How is resumption from await implemented?
I\'ve been reading Eric Lippert\'s blog posts on Asynchrony in C# 5 (part 4 being particular relevant) and have watched Anders PDC10 talk on the subject and I\'m unclear on how continuations from asyn[详细]
2023-02-17 22:48 分类:问答How does C# 5.0 async work?
I\'m trying to grok how C# 5\'s new async feature works. Suppose I want to develop an atomic increment function for incrementing an integer in a fictitious IntStore. Multiple calls are made to this fu[详细]
2023-02-13 22:05 分类:问答How would I run an async Task<T> method synchronously?
I am learning about async/await, and ran into a situation where I need to call an async method synchronously. How can I do that?[详细]
2023-02-13 04:25 分类:问答Is it possible to "await yield return DoSomethingAsync()"
Are regular iterator blocks (i.e. \"yield return\") incompatible with \"async\" and \"await\"? This gives a good idea of what I\'m trying to do:[详细]
2023-02-12 01:56 分类:问答C# 5 async CTP: why is internal "state" set to 0 in generated code before EndAwait call?
Yesterday I was giving a talk about the new C# \"async\" feature, in particular delving into what the generated code looked like, and the GetAwaiter() / BeginAwait() / EndAwait() calls.[详细]
2023-02-11 05:16 分类:问答Iterators in VB.NET vNext, and limitations of iterators in C#
I just saw on the Async CTP website that the next version of VB.NET will have iterators. I guess they included iterators because the rewriting process is similar to the one used for the new async/awai[详细]
2023-01-23 08:50 分类:问答What's the new C# await feature do? [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this[详细]
2023-01-23 06:12 分类:问答C# 5.0 async/await feature and Rx - Reactive Extensions
I am wondering what do the new C# 5.0 asynchronous features mean for Rx - Reactive Extensi开发者_StackOverflow社区ons? It seems to be not a replacement but they seem to overlap - Task and IObservable.[详细]
2023-01-22 14:19 分类:问答Why does WebClient.DownloadStringTaskAsync() block ? - new async API/syntax/CTP
For some reason there is a pause after the program below starts. I believe that WebClient().DownloadStringTaskAsync() is the cause.[详细]
2023-01-22 11:36 分类:问答