[Twisted-Python] Re: LoopingCall vs internet.TimerService
exarkun at divmod.com
Wed Oct 3 10:31:06 EDT 2007
On Tue, 2 Oct 2007 20:05:43 -0400, Saptarshi Guha <sguha at purdue.edu> wrote:
>I did read the source that
>a)LoopingCall is implemented via calllater's
>b)internet.TimerService is a big wrapper around loopingcall
>I've probably simplified it too much but what then is the difference?
You haven't really simplified too much. They both provide the same
functionality. LoopingCall provides it with one API, TimerService
provides it with a different API. Of the two, LoopingCall is the
more commonly useful.
More information about the Twisted-Python