Home | Trees | Indices | Help |
---|
|
Manage a queue of actions (callables), and execute them sequentially in a single thread.
WARNING: It is NOT thread-safe.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|
|
Add an action at the end of the queue. It will be processed when all the previous actions in the queue have finished. If no actions are being processed, it starts processing automatically. WARNING: The program will not stop until the current task has finished. :parameters: `action` : callable Action to be executed `args` : list Arguments passed to the action `kwargs` : dictionary Keywords arguments passed to the action :return: Deferred object used to chain success and error callbacks :rtype: twisted.internet.defer.Deferred |
FIXME, DOCME: wrong documentation copied/pasted from enqueue_action Add an action at the end of the queue. It will be processed when all the previous actions in the queue have finished. If no actions are being processed, it starts processing automatically. WARNING: The program will not stop until the current task has finished. :parameters: `action` : callable Action to be executed `args` : list Arguments passed to the action `kwargs` : dictionary Keywords arguments passed to the action :return: Deferred object used to chain success and error callbacks :rtype: twisted.internet.defer.Deferred |
Process a single action. :parameters: `task` : (callable, list, dictionary, twisted.internet.defer.Deferred) Action to be processed and associated deferred object |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Wed Jan 16 19:09:13 2008 | http://epydoc.sourceforge.net |