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:
parent
1d885c1e36
commit
e1a13f62b5
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue