mcmandelbrot.test.testbase.MockWireWorker(AsyncWorker)
class documentation
Part of mcmandelbrot.test.testbase
(View In Hierarchy)
Undocumented
Method | __init__ | Constructs an instance of me with a util.DeferredLock . |
Method | run | Implements IWorker.run ,
running the task in the main thread. The task callable must
not block. |
Inherited from AsyncWorker:
Method | setResignator | Undocumented |
Method | stop | Implements IWorker.stop . |
Method | crash | There's no point to implementing this because the Twisted main loop will block along with any task you give this worker. |
def
__init__(self, *args, **kw):
overrides asynqueue.workers.AsyncWorker.__init__
Constructs an instance of me with a util.DeferredLock
.
Parameters | series | A list of one or more task series that this particular instance of me is qualified to handle. |
raw | Set True if you want raw iterators to be returned instead of
iteration.Deferator
instances. You can override this with the same keyword set
False in a call. |
def
run(self, task):
overrides asynqueue.workers.AsyncWorker.run
Implements IWorker.run
,
running the task in the main thread. The task callable must
not block.