Add timers to globals section
authorRyan Dahl <ry@tinyclouds.org>
Fri, 1 Apr 2011 16:19:00 +0000 (09:19 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Fri, 1 Apr 2011 16:19:08 +0000 (09:19 -0700)
Closes GH-864.

doc/api/globals.markdown

index 8f7758b..3a561a3 100644 (file)
@@ -59,3 +59,10 @@ Example: running `node example.js` from `/Users/mjr`
 A reference to the current module. In particular
 `module.exports` is the same as the `exports` object. See `src/node.js`
 for more information.
+
+### setTimeout(cb, ms)
+### clearTimeout(t)
+### setInterval(cb, ms)
+### clearInterval(t)
+
+The timer functions are global variables. See the [timers](timers.html) section.