def execute(self, arg1, arg2): sum_future = BunchOfActivities.sum(arg1, arg2) mul_future = BunchOfActivities.mul(arg1, arg2) result = yield sum_future, mul_future return_(result)
def execute(self, arg1, arg2): sum_future = BunchOfActivities.sum(arg1, arg2) mul_future = BunchOfActivities.mul(arg1, arg2) result = yield sum_future, mul_future return_(result)
def execute(self, arg1, arg2): arg_sum = yield BunchOfActivities.sum(arg1, arg2) arg_mul = yield BunchOfActivities.mul(arg1, arg2) return_((arg_sum, arg_mul))
def execute(self, arg1, arg2): arg_sum = yield BunchOfActivities.sum(arg1, arg2) arg_mul = yield BunchOfActivities.mul(arg1, arg2) return_((arg_sum, arg_mul))