def async_exec(tasks, skip_errors): gen = yield self.MultiTask(tasks, unordered=True, skip_errors=skip_errors) return_result(list(gen))
def func(): r = yield self.ProcessTask(mp_func, self._main_process) return_result(r)
def func(): r = yield self.Task(self.simple_method) return_result(r)