Adding an event to be fired when a scene task is completed.
It is analogous to the run task completed event, and has
been missing for some reason.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
def task_complete(self, task):
self.stats.taskCompleted()
+ bb.event.fire(sceneQueueTaskCompleted(task, self.stats, self.rq), self.cfgData)
self.task_completeoutright(task)
def task_fail(self, task, result):
Event notifing a task completed
"""
+class sceneQueueTaskCompleted(sceneQueueEvent):
+ """
+ Event notifing a setscene task completed
+ """
+
class runQueuePipe():
"""
Abstraction for a pipe between a worker thread and the server