コード例 #1
0
 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)
コード例 #2
0
 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)
コード例 #3
0
 def execute(self, arg1, arg2):
     arg_sum = yield BunchOfActivities.sum(arg1, arg2)
     arg_mul = yield BunchOfActivities.mul(arg1, arg2)
     return_((arg_sum, arg_mul))
コード例 #4
0
 def execute(self, arg1, arg2):
     arg_sum = yield BunchOfActivities.sum(arg1, arg2)
     arg_mul = yield BunchOfActivities.mul(arg1, arg2)
     return_((arg_sum, arg_mul))