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

css - I want to align grid in center -

python - SWIG function not printing output -

oop - Function for all prototypes - Javascript -