hi every one,
i have a function in i want to execute some line after that the worker thread sleep some time after that execute next line .
please suggest me how to do this type of things in extjs .
thanks,
hi every one,
i have a function in i want to execute some line after that the worker thread sleep some time after that execute next line .
please suggest me how to do this type of things in extjs .
thanks,
You can use:
... and use clearTimeout(mytimer) to resetCode:var myTimer = setTimeout(function(){ // function will execute in 1 sec },1000);