code: def runner(coro):
      
  
      @wraps(coro)
      def inner(self, *args, **kwargs):
          if self.mode == 'async':
              return coro(self, *args, **kwargs)
          return self._loop.run_until_complete(coro(self, *args, **kwargs))
  
      return inner
docs: Function execution decorator.