[Twisted-Python] reactor.callLater always requires args object?

Christopher Armstrong radix at twistedmatrix.com
Wed Jul 21 14:55:00 EDT 2004

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
---------+           http://radix.twistedmatrix.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20040721/8183a953/attachment.pgp 

More information about the Twisted-Python mailing list