TcoUpLoad
TcoUpLoad
CC#
Created by TcoUpLoad on 7/26/2024 in #help
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.
7 replies