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  Python code snippet - How to set up sublime text for on windows?

Leave a Reply

Your email address will not be published. Required fields are marked *

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