C # 5 await / async pattern in API design

How does the C # 5 await / async pattern enhance the expressiveness of new coroutine APIs (as Jon Skeet has shown in recent posts) or with the actor model?

+6
c #
Jun 29 2018-11-23T00:
source share
1 answer

As you mentioned, John Skeet discusses Coroutines using Async CTP , so I will skip this part of your question ...

The actual actor model is accessed by Cync Async through the TPL Dataflow . This is a new library using Task classes that allows you to use the form of the Actor model, as well as many other data streams and similar scripts. Since it is based on the Task and Task<T> classes, it also await great with await / async .

+3
Jun 29 2018-11-23T00:
source share



All Articles