C#C
C#2y ago
TcoUpLoad

change from backgroundworker to async/await

I want to change backgroundworker with async/await. In my current scenario i had a backgroundworker declared in the controller. it has two method dowork and RunWorkerCompleted there. So my UI has call controller function that call backgroundworker.RunWorkerAsync().. how i change all this to async/await ? But those async/await stays in the controller.
Was this page helpful?