code: def publish(self, request: Request) -> None:
          
          handler_factories = self._registry.lookup(request)
          for factory in handler_factories:
              handler = factory()
              handler.handle(request)
docs: Dispatches a request. Expects zero or more target handlers
          :param request: The request to dispatch
          :return: None.