[Twisted-Python] Re: LoopingCall vs internet.TimerService

Jean-Paul Calderone 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?
>thank you

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.

Jean-Paul




More information about the Twisted-Python mailing list