Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
Fixes #1701. Thanks baudehlo.
  • Loading branch information
ry committed Sep 14, 2011
1 parent dc8f4ee commit 69c35f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api/timers.markdown
Expand Up @@ -6,6 +6,11 @@ To schedule execution of a one-time `callback` after `delay` milliseconds. Retur
`timeoutId` for possible use with `clearTimeout()`. Optionally you can
also pass arguments to the callback.

It is important to note that your callback will probably not be called in exactly
`delay` milliseconds - Node.js makes no guarantees about the exact timing of when
the callback will fire, nor of the ordering things will fire in. The callback will
be called as close as possible to the time specified.

### clearTimeout(timeoutId)

Prevents a timeout from triggering.
Expand Down

0 comments on commit 69c35f9

Please sign in to comment.