示例#1
0
 def exposed_add(self, x, y):
     yield self.reactor.jobs.sleep(2)
     rreturn(x + y)
示例#2
0
 def exposed_add(self, x, y):
     yield self.reactor.jobs.sleep(2)
     rreturn (x + y)
示例#3
0
 def exposed_div(self, x, y):
     yield self.reactor.jobs.sleep(2)
     rreturn(x / y)
示例#4
0
 def exposed_div(self, x, y):
     yield self.reactor.jobs.sleep(2)
     rreturn (x / y)