def make_async(func):
 def make_me_async(*args, **kwargs):
  async_func = AsyncRunner(func)
  async_func(*args, **kwargs)
  return async_func
 return make_me_async

def make_async ( func ) : def make_me_async ( * args , ** kwargs ) : async_func = AsyncRunner ( func ) async_func ( * args , ** kwargs ) return async_func return make_me_async
decorate methods to be run as qthreads .