| Trees | Index | Help |
|
|---|
| Package ZenUtils :: Module Driver |
|
Driver.py
Run generators that produce Deferreds.
twisted.flow has something like this, except I cannot understand it.
$Id$| Classes | |
|---|---|
Driver |
Walk an iterable that returns a deferred. |
| Function Summary | |
|---|---|
Typical use of Driver class:... | |
Drive the callable at a later time | |
test()
| |
| Variable Summary | |
|---|---|
str |
__version__ = ''
|
| Function Details |
|---|
drive(callable)
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)
|
driveLater(secs, callable)Drive the callable at a later time |
| Variable Details |
|---|
__version__
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 | http://epydoc.sf.net |