Trees | Indices | Help |
|
---|
|
Driver.py
Run generators that produce Deferreds.
twisted.flow has something like this, except I cannot understand it.
$Id$Version:
|
|||
Driver Walk an iterable that returns a deferred. |
|
|||
|
|||
|
|||
|
|
|||
__doc__ = '''Driver
|
|
Typical use of Driver class: def walk(driver): yield thing1() print "Thing 1 is", driver.next() yeild thing2() print "Thing 2 is", driver.next() drive(walk) |
|
__doc__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu Oct 25 16:27:42 2007 | http://epydoc.sourceforge.net |