class_docstr: Wait for the given dispatcher to register. Blocks until the dispatcher registers or the timeout occurs.
code: def __init__(self, dispatcher_id, timeout):
      self.dispatcher_id = dispatcher_id
      """Dispatcher id"""
  
      self.timeout = timeout
      """Wait timeout in seconds"""
  
imports: import threading
  from horovod.runner.common.util import timeout, network
  from horovod.runner.common.util.network import AckResponse
  from horovod.runner.common.util.timeout import TimeoutException
  from horovod.runner.util.threads import in_thread
label_desc: Use image node_id 1 to create a new WaitForDispatcherRegistrationRequest object from inherited base classes: object with example: obj = WaitForDispatcherRegistrationRequest(dispatcher_id, timeout)