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)