A code example illustrating the difference between the paradigms of async/await and Reactive (Rx) extension?

后端 未结 3 1162
天命终不由人
天命终不由人 2021-01-30 15:14

Both the System.Reactive extension for .NET and new C# 5.0 (.NET 4.5) async/await pursue (or based on) future and promises constructs paradigm (approach).

Can you gi

3条回答
  •  隐瞒了意图╮
    2021-01-30 15:31

    They're not mutually exclusive. The main determination is whether you have a single future result or multiple future results.

    http://blogs.msdn.com/b/rxteam/archive/2012/03/12/reactive-extensions-v2-0-beta-available-now.aspx

    http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-31-75-metablogapi/0815.image_5F00_thumb_5F00_59BBA077.png

提交回复
热议问题