I'd like to set up a loop that will block current processing until 
some condition is met.

setInterval, and the various timers I see on the forums allow one to 
run some function after some interval for animation effects and 
such. But I need an implementation that will allow me to do 
something like:

.....
do{
//just wait
}(while mycomponent.isDataReady == false) //DOES NOT WORK

processData(myComponent.getData);
...

Any suggestions?

Thanks,
Tracy



Reply via email to