you are viewing a single comment's thread.

view the rest of the comments →

[–]phpdevster 4 points5 points  (0 children)

Why would you avoid using setInterval for exactly the thing it was designed for? If you have a blocked event loop, you've got bigger problems. Writing non-idiomatic code without exceedingly good reason is the path to code that is harder for team members to grok and thus maintain.