asynchronous programming APM vs EAP

后端 未结 3 1705
你的背包
你的背包 2021-02-01 05:29

What\'s actually difference between Asynchronous Programming Model and Event-based Asychronous Pattern?

Which approach to use and when

3条回答
  •  甜味超标
    2021-02-01 06:23

    A comprehensive answer is given at MSDN article "Deciding When to Implement the Event-based Asynchronous Pattern".

    The main idea of this article (and short answer to your question) sounds like "Generate the event-based pattern by default, with an option to generate the IAsyncResult pattern"

提交回复
热议问题