code: def asyncthread(func):
      'Function decorator, to make calls to `func()` spawn a separate thread if available.'
      @functools.wraps(func)
      def _execAsync(*args, **kwargs):
          return vd().execAsync(func, *args, **kwargs)
      return _execAsynf asyncthread(func):
      'Function decorator, to make calls to `func()` spawn a separate thread if available.'
      @functools.wraps(func)
      def _execAsync(*args, **kwargs):
          return vd().execAsync(func, *args, **kwargs)
      return _execAsync
docs: Function decorator, to make calls to `func()` spawn a separate thread if available.