Exemple #1
0
 def addFunc(func, name, parent=None, confirm=False):
     addTask(rt.CallbackTask(callback=func, name=name), parent=parent)
     if confirm:
         addTask(rt.UserPromptTask(
             name='Confirm execution has finished',
             message='Continue when plan finishes.'),
                 parent=parent)
Exemple #2
0
 def addFunc(func, name, parent=None):
     addTask(rt.CallbackTask(callback=func, name=name), parent=parent)