For example, I use MsgboxAsync2 to display a message to user, then rtp.CheckAndRequest to request a permission. Both must be followed by Wait For to wait for user’s response.
But I cannot write the code like that.
A pattern such as this one can be used when you want to run multiple resumable subs concurrently and wait for all of them to complete before continuing: Dim status(1) As Int Test1(status) Test2(status) Test3(status) Do While status(0) < 3 Sleep(50) Loop...