Do you mind not yelling?  Normal fonts would be appreciated.

The code you show should work fine.  You call the callback once and then
call setInterval.  Am I not understanding your question?


On Thu, Apr 19, 2012 at 11:59 PM, darcy <[email protected]> wrote:

>  setInterval(callback, delay, [arg], [...])
> the callback will be executed after delay time, if i want the first time
> of callback to be executed immediately, the code will something like:
> callback();
> setInterval(callback, delay, [arg], [...]);
>
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to