Home | Trees | Index | Help |
|
---|
Package twisted :: Package flow :: Module threads |
|
flow.thread
Support for threads within a flowClasses | |
---|---|
QueryIterator |
Converts a database query into a result iterator from __future__ import generators from twisted.enterprise import adbapi from twisted.internet import reactor from twisted.flow import flow from twisted.flow.threads import QueryIterator, Threaded dbpool = adbapi.ConnectionPool("SomeDriver",host='localhost', db='Database',user='User',passwd='Password') # # I test with... |
Threaded |
A stage which runs a blocking iterable in a separate thread This stage tunnels output from an iterable executed in a separate thread to the main thread. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:01 2004 | http://epydoc.sf.net |