def body():
     return threadpool.blocking_call(give_defer, result)
 def body():
     r = threadpool.blocking_call(async_job)
     reached_here = True
     return r
 def body():
     return threadpool.blocking_call(call)
 def body():
     started.set()
     # < ---- here the Deferred gets cancelled
     ready.wait()
     return threadpool.blocking_call(async)
Exemple #5
0
 def body():
     r = threadpool.blocking_call(async_job)
     reached_here = True
     return r
Exemple #6
0
 def body():
     return threadpool.blocking_call(give_defer, result)
Exemple #7
0
 def body():
     return threadpool.blocking_call(call)