SyntaxFix
Write A Post
Hire A Developer
Questions
Edit: I totally misunderstood the question. In the browser, I would use setTimeout. If it was important that it ran in another thread, I would use Web Workers.
setTimeout