On 18-Feb-07, at 9:08 PM, Pearl wrote:

> I am calling a python function in regular intervals repeatedly. For
> this purpose I am using the javascript function
>
> => setInterval(function, interval)
> To stop this I used
> => clearInterval(function)
>
> What is the mochikit way of doing the same?

I think this is closest to what you're describing:

var d = null;
someFunction() {
     if (condition) {
         d = callLater(seconds, someFunction[, args]);
     }
}
d = callLater(seconds, someFunction[, args]);

Beau

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to