From: Ryan Dahl Date: Fri, 1 Apr 2011 16:19:00 +0000 (-0700) Subject: Add timers to globals section X-Git-Tag: v0.4.5~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4877279efa9eb6c8dce51081df52e8f48750b61a;p=platform%2Fupstream%2Fnodejs.git Add timers to globals section Closes GH-864. --- diff --git a/doc/api/globals.markdown b/doc/api/globals.markdown index 8f7758b..3a561a3 100644 --- a/doc/api/globals.markdown +++ b/doc/api/globals.markdown @@ -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.