On May 7, 5:34 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:

> >I know the name isn't the best, but it was the first that came to my
> >mind and it was short. Any ideas would be appreciated.
>
> Maybe these ideas suck, but here they are:
>
> execInterval()
> execTimer()
> timer()
> repeatInterval()
> execRepeat()
>
> Somebody else might be able to come up with a better name.

Dan,
What about just calling it "execute" and swap the parameters so
that...

$.(fn, seconds)

That way the idea here is it executes a particular function, a simple
call back with a second optional parameter to do it at a periodical
iteration.

I'm just thinking out loud here...

Changes the nature of the initial idea slightly - but it also widens
the scope of this method.  I'm not 100% positive that a generic call
back method is needed... then again, maybe it is.  I know with some
server side stuff I've done it's come in handy at the most random
times.

FWIW, $0.02

- Stosh

Reply via email to