[Twisted-Python] reactor.callLater always requires args object?
serj_trejo at hotmail.com
Thu Jul 22 00:34:24 EDT 2004
Much thanks orbitz and radix. Went down the wrong path on something subtle.
I thought I had read in an example document, "d.callback" to the
reactor.callLater() whereas it turns out to be "callback" and not
"d.callback". I should have stopped and slept instead of going on sleepless
>From: Christopher Armstrong <radix at twistedmatrix.com>
>Reply-To: Twisted discussion stuff <twisted-python at twistedmatrix.com>
>To: Twisted discussion stuff <twisted-python at twistedmatrix.com>
>Subject: Re: [Twisted-Python] reactor.callLater always requires args
>Date: Wed, 21 Jul 2004 14:55:00 -0400
>Sergio Trejo wrote:
>>There's sure to be a good reason why, perhaps something utterly obvious to
>>most but as a newbie I'm still trying to grok as much as possible where
>>needed. Thanks for any clarification.
>*Deferreds* need a result, not callLater. As orbitz mentioned,
>reactor.callLater(3, checkForSanity) would work fine. d.callback, as well
>as all callbacks added to a Deferred with d.addCallback, always require at
>least one argument.
> Twisted | Christopher Armstrong: International Man of Twistery
> Radix | Release Manager, Twisted Project
><< signature.asc >>
>Twisted-Python mailing list
>Twisted-Python at twistedmatrix.com
Tired of spam? Get advanced junk mail protection with MSN 8.
More information about the Twisted-Python