From 4877279efa9eb6c8dce51081df52e8f48750b61a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 1 Apr 2011 09:19:00 -0700 Subject: [PATCH] Add timers to globals section Closes GH-864. --- doc/api/globals.markdown | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- 2.7.4