multithreading - How to Notify main thread that all Tasks inside async method are finished -


i unit testing async method further call 2 methods inside test cases want wait tasks completed method ( there may background tasks too) how should notify main thread ( 1 method called) other background tasks (async) tasks finished proceed next statement.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -