code: def add_timeout_callback(self, callback, timeout_milliseconds):
          ''' Add callback to be invoked once, after a specified timeout passes.
  
          Args:
              callback (callable) :
                  A callback function to execute after timeout
  
              timeout_milliseconds (int) :
                  Number of milliseconds before callback execution.
  
          Returns:
              TimeoutCallback : can be used with ``remove_timeout_callback``
  
          .. note::
              Timeout callbacks only work within the context of a Bokeh server
              session. This function will no effect when Bokeh outputs to
              standalone HTML or Jupyter notebook cells.
  
          '''
          from ..server.callbacks import TimeoutCallback
          cb = TimeoutCallback(self,
                               None,
                               timeout_milliseconds)
          return self._add_session_callback(cb, callback, one_shot=True, originator=self.add_timeout_callbackf add_timeout_callback(self, callback, timeout_milliseconds):
          ''' Add callback to be invoked once, after a specified timeout passes.
  
          Args:
              callback (callable) :
                  A callback function to execute after timeout
  
              timeout_milliseconds (int) :
                  Number of milliseconds before callback execution.
  
          Returns:
              TimeoutCallback : can be used with ``remove_timeout_callback``
  
          .. note::
              Timeout callbacks only work within the context of a Bokeh server
              session. This function will no effect when Bokeh outputs to
              standalone HTML or Jupyter notebook cells.
  
          '''
          from ..server.callbacks import TimeoutCallback
          cb = TimeoutCallback(self,
                               None,
                               timeout_milliseconds)
          return self._add_session_callback(cb, callback, one_shot=True, originator=self.add_timeout_callback)
docs: Add callback to be invoked once, after a specified timeout passes.
  
          Args:
              callback (callable) :
                  A callback function to execute after timeout
  
              timeout_milliseconds (int) :
                  Number of milliseconds before callback execution.
  
          Returns:
              TimeoutCallback : can be used with ``remove_timeout_callback``
  
          .. note::
              Timeout callbacks only work within the context of a Bokeh server
              session. This function will no effect when Bokeh outputs to
              standalone HTML or Jupyter notebook cells.