I am after a simple bit code that uses async and await.
The key thing I am looking for then a way I can test the function has finished doing its work.
So the calling routine eg - so here is some pseudo code below;
Bool finished = false;
Test1(); // the async call
If (test1.finished == true)
So something simple based on the above would be great :)