[Twisted-Python] Deferred documentation.

Tristan Seligmann mithrandi at mithrandi.net
Wed Mar 30 14:51:13 EDT 2011


On Wed, Mar 30, 2011 at 7:20 PM, Glyph Lefkowitz
<glyph at twistedmatrix.com> wrote:
> However, in my experience, a novice's understanding of addCallbacks() is
> critically important to understanding other uses of Deferred as well; in
> particular, the "one chain of pairs of callback and errback" concept makes a
> lot of the behavior clear which might not otherwise be.  If you just vaguely
> know about chains of callbacks, you can easily get confused.

Anecdotally, I didn't understand Deferred callback chains at all
correctly until I discovered that addCallback and addErrback were
implemented in terms of addCallbacks, and how they were implemented.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar



More information about the Twisted-Python mailing list