Example #1
0
 def async_exec(tasks, skip_errors):
     gen = yield self.MultiTask(tasks,
                                unordered=True,
                                skip_errors=skip_errors)
     return_result(list(gen))
Example #2
0
 def func():
     r = yield self.ProcessTask(mp_func, self._main_process)
     return_result(r)
Example #3
0
 def func():
     r = yield self.Task(self.simple_method)
     return_result(r)
Example #4
0
 def func():
     r = yield self.ProcessTask(mp_func, self._main_process)
     return_result(r)
Example #5
0
 def func():
     r = yield self.Task(self.simple_method)
     return_result(r)
Example #6
0
 def async_exec(tasks, skip_errors):
     gen = yield self.MultiTask(tasks, unordered=True,
                                skip_errors=skip_errors)
     return_result(list(gen))