[Python-ideas] Async API: some code to review
Guido van Rossum
guido at python.org
Mon Oct 29 23:26:59 CET 2012
On Mon, Oct 29, 2012 at 3:19 PM, Andrew Svetlov
<andrew.svetlov at gmail.com> wrote:
> Twisted's DelayedCall is different from Deferred, it used for
> reactor.callLater and returned from this function (the same as
> call_later from tulip)
> Interface is: http://twistedmatrix.com/trac/browser/trunk/twisted/internet/interfaces.py#L676
> Implementation is
> http://twistedmatrix.com/trac/browser/trunk/twisted/internet/base.py#L35
> DelayedCall from twisted has nothing common with Deferred, it's just
> an interface for scheduled activity, which can be called once,
> cancelled or rescheduled to another time.
>
> I've found that concept very useful when I used twisted.
Oh dear. I had no idea there was something named DelayedCall in
Twisted. There is no intention of similarity.
--
--Guido van Rossum (python.org/~guido)
More information about the Python-ideas
mailing list