code: def handleSync(self, msg: Any) -> Any:
          
          # If a plain python tuple and not a named tuple, a better alternative
          # would be to create a named entity with the 3 characteristics below
          # TODO: non-obvious tuple, re-factor!
          if isinstance(msg, tuple) and len(
                  msg) == 2 and not hasattr(msg, '_field_types'):
              return self.getFunc(msg[0])(*msg)
          else:
              return self.getFunc(msg)(msg)
docs: Pass the message as an argument to the function defined in `routes`.
          If the msg is a tuple, pass the values as multiple arguments to the function.
  
          :param msg: tuple of object and callable