SyntaxFix
Write A Post
Hire A Developer
Questions
Actually only setTimeout is fine for that job and normally you cannot set exact delays with non determined methods as busy loops.
setTimeout