code: def threaded(func):
      
  
      def dec(self, *args, **kwargs):
          thread.start_new_thread(func, (self, ) + args, kwargs)
  
      return dec
docs: Decorator to execute each :param func: call in a separate thread.