Part of lp.services.twistedsupport.task View In Hierarchy
Pass this to the 'start' method of an ITaskSource
provider.
Note that implementations of ITaskConsumer
need to provide their own way
of getting references to ITaskSources.
Method | taskStarted | Called when the task source generates a task. |
Method | noTasksFound | Called when no tasks were found. |
Method | taskProductionFailed | Called when the task source fails to produce a task. |
This is a throw-it-over-the-wall interface used by ITaskSource. ITaskSource expects it to finish quickly and to not raise errors. Any return value is completely ignored.
Parameters | task | The interface for this is defined by the task source. |