0
I have the variable x
that goes through processes to be really defined and it takes a while, and to mess with the rest of the application I need it to be defined, that is I need to wait for it to be defined if not the project hangs..
How to wait for the variable to be set to release the other things.. I thought of an infinite setinterval but it would be gambiarra, there is something more robust?