Hi,
I often have to synchrnoize 2 asychronous notifications;
For instance, on application startup, I begin loading assets, and meanwhile, I display a small menu for the user to choose the appropriate language. (this is juste an example, as this situation happened in multiple situations, I look for a generic solution)
So I have to launch a command once all is finiched, but only when assets will be loaded AND user will have clicked, but I cannot predict which one of these actions will be done first.
Is there a good and easy practice to make this, for 2 or more notifications that have to be synchronized ? Thanks a lot !