Re: Proposal: High resolution (and otherwise improved) timer API

<op.uif58vz164w2qv@annevk-t60.oslo.opera.com>

Current votes: None.


On Fri, 03 Oct 2008 05:43:55 +0200, Maciej Stachowiak <mjs@apple.com>  
wrote:
> - Perhaps the argument order should be (handler, delay, repeating)  
> instead, to be more like setTimeout / setInterval
>
> - Perhaps the "repeating" or even the "delayInSeconds" arguments should  
> be optional, defaulting to false and 0 respectively, and possibly in  
> combination with the above suggestion.

I think that would be nice.


I was wondering why startTimer returns a Timer object. What is the use  
case for that?