asynqueue.tasks.Assignment(object)
class documentation
Part of asynqueue.tasks
(View In Hierarchy)
I represent the assignment of a single task to whichever worker object accepts me. Deep down, my real role is to provide something to fire the callback of a deferred with instead of just another deferred.
Instance Variable | d | A Deferred that is instantiated for a given instance of me,
which fires when a worker accepts the assigment represented by that
instance. |
Method | __init__ | Undocumented |
Method | accept | Called when the worker accepts the assignment, firing my
Deferred . |