---

Hypnotic: Let JavaScript Sleep()!

For a long time JavaScript has been lack of a non-busy synchronous sleep() function, due to its programming model.

JavaScript developers have thus been force to think and program in the asynchronous fashion, which might be annoying and painful to code timing logic.

Finally we have Hypnotic, which is a non-busy synchronous sleep() you have been waiting for.

Before saying ‘impossible’, would you take a look at the demo?

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis