Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to break out of setinterval

    var timerId = setInterval(function(){

       if(window.document.drops.isFinished()){
           clearInterval(timerId);
       }

    },1000);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #break #setinterval
ADD COMMENT
Topic
Name
3+6 =