I have a piece of code that does work on Asynchronous way but I want a wrapper around that which wait for it finish the operation, basically the following code depend on the output of the previous asynchronous code snippet.
It couldn't be converted to synchronous as it has been extensively used all the places.
Answers