Hello,

I've been reading up on this

http://twistedmatrix.com/documents/current/core/howto/defer.html

I'm a bit confused as to the "visual explanation". It seems like if you have a
single callback and errback, that if the errback wants to swallow the error,
the callback will not be called at all, since deferred processing will look
for the second callback at that point by the diagram.

So, right now I'm calling my own callback from the errback if I want to
swallow the error. Is there a better way?

Thanks,
Mike
-- 
Michael P. Soulier <msoul...@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Attachment: pgp3vfXL5CTLE.pgp
Description: PGP signature

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to