I have an asynchronous class with a method StartProcessing()that raises an event int ResultReady()when it has finished processing. StartProcessing()takes very little time.
I want to call this class synchronously. My pseudo code should look something like this:
Which design template is best for this? Could you give me some sample code?
source
share