parameters: (self, *, idle_timeout=None)
docstring: Run indefinitely, forwarding LCM => MeshCat messages.
  
          If provided, the optional idle_timeout must be strictly positive and
          this loop will sys.exit after that many seconds without any websocket
          connections.
docstring_summary: Run indefinitely, forwarding LCM => MeshCat messages.
docstring_tokens: Run indefinitely forwarding LCM = > MeshCat messages .
function: def serve_forever(self, *, idle_timeout=None):
          """Run indefinitely, forwarding LCM => MeshCat messages.
  
          If provided, the optional idle_timeout must be strictly positive and
          this loop will sys.exit after that many seconds without any websocket
          connections.
          """
          while True:
              self._lcm.HandleSubscriptions(timeout_millis=1000)
              if not self._should_update():
                  continue
              self._invoke_subscriptions()
              self.meshcat.Flush()
              self._check_for_shutdown(idle_timeout=idle_timeout)
function_tokens: def serve_forever ( self , * , idle_timeout = None ) : while True : self . _lcm . HandleSubscriptions ( timeout_millis = 1000 ) if not self . _should_update ( ) : continue self . _invoke_subscriptions ( ) self . meshcat . Flush ( ) self . _check_for_shutdown ( idle_timeout = idle_timeout )