Skip to content

TypeScript code snippet – How to break out of setinterval?

    var timerId = setInterval(function(){

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

    },1000);
See also  Java code snippet - How to add integers in an arraylist?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.