Click here to Skip to main content
15,797,984 members
Articles / Programming Languages / C#

C# Events to Awaitable Pattern

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
30 Apr 2023CPOL2 min read 11.6K   20  
Convert an Event-based API to an awaitable pattern API
In this tip, you will see how to adapt an "old" event based API to a fully modern Task based API.


Daily Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions