示例#1
0
 def test(s, destination=None,):
     req = Request(someWork)
     req.onFinish(callback)
     s2 = req.wait()[0]
     time.sleep(0.001)
     if destination is None:
         destination = [""]
     destination[0] = s2 + s
     return destination