X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2Fapi%2Ftimers.markdown;h=3990ab6c1d391dac745fe382fc6d285cb4a037d1;hb=940d2044013ef3014624eb3192cd02b913298484;hp=7859e7fecd6273c881f1757bdee743647a29eec8;hpb=c4103b154f77951b4f1a0af392e7a0fc7a808b96;p=platform%2Fupstream%2Fnodejs.git diff --git a/doc/api/timers.markdown b/doc/api/timers.markdown index 7859e7f..3990ab6 100644 --- a/doc/api/timers.markdown +++ b/doc/api/timers.markdown @@ -27,7 +27,7 @@ Returns the timer. ## setImmediate(callback[, arg][, ...]) -To schedule the "immediate" execution of `callback` after I/O events' +Schedules "immediate" execution of `callback` after I/O events' callbacks and before timers set by [`setTimeout`][] and [`setInterval`][] are triggered. Returns an `immediateObject` for possible use with [`clearImmediate`][]. Additional optional arguments may be passed to the @@ -40,7 +40,7 @@ until the next event loop iteration. ## setInterval(callback, delay[, arg][, ...]) -To schedule the repeated execution of `callback` every `delay` milliseconds. +Schedules repeated execution of `callback` every `delay` milliseconds. Returns a `intervalObject` for possible use with [`clearInterval`][]. Additional optional arguments may be passed to the callback. @@ -50,7 +50,7 @@ milliseconds (approximately 25 days) or less than 1, Node.js will use 1 as the ## setTimeout(callback, delay[, arg][, ...]) -To schedule execution of a one-time `callback` after `delay` milliseconds. +Schedules execution of a one-time `callback` after `delay` milliseconds. Returns a `timeoutObject` for possible use with [`clearTimeout`][]. Additional optional arguments may be passed to the callback.