1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Add timer question to faq

This commit is contained in:
Joshua Peek 2014-12-22 18:39:14 -08:00
parent 1d885c1e36
commit e1a13f62b5

View file

@ -52,6 +52,11 @@ in. If you want to access the Node API, you should check another library like
[commonjs.rb](https://github.com/cowboyd/commonjs.rb) designed to provide a
consistent interface.
**Why can't I use `setTimeout`**
For similar reasons as modules, not all runtimes guarantee a full JavaScript
event loop. So `setTimeout`, `setInterval` and other timers are not defined.
# License