class_docstr: Consumer thread base class subclassed by event observer threads
  that dispatch events from an event queue to appropriate event handlers.
  
  :param timeout:
      Event queue blocking timeout (in seconds).
  :type timeout:
      ``float``
class_docstr_tok: ["Consumer","thread","base","class","subclassed","by","event","observer","threads","that","dispatch","events","from","an","event","queue","to","appropriate","event","handlers",".",":","param","timeout",":","Event","queue","blocking","timeout","(","in","seconds",")",".",":","type","timeout",":","``","float","``"]
docstr: Override this method to consume events from an event queue, blocking
  on the queue for the specified timeout before raising :class:`queue.Empty`.
  
  :param event_queue:
      Event queue to populate with one set of events.
  :type event_queue:
      :class:`EventQueue`
  :param timeout:
      Interval period (in seconds) to wait before timing out on the
      event queue.
  :type timeout:
      ``float``
  :raises:
      :class:`queue.Empty`
docstr_tok: ["Override","this","method","to","consume","events","from","an","event","queue",",","blocking","on","the","queue","for","the","specified","timeout","before","raising",":","class",":","`","queue.Empty","`",".",":","param","event_queue",":","Event","queue","to","populate","with","one","set","of","events",".",":","type","event_queue",":",":","class",":","`","EventQueue","`",":","param","timeout",":","Interval","period","(","in","seconds",")","to","wait","before","timing","out","on","the","event","queue",".",":","type","timeout",":","``","float","``",":","raises",":",":","class",":","`","queue.Empty","`"]
code: def dispatch_events(self, event_queue, timeout):
      """Override this method to consume events from an event queue, blocking
      on the queue for the specified timeout before raising :class:`queue.Empty`.
  
      :param event_queue:
          Event queue to populate with one set of events.
      :type event_queue:
          :class:`EventQueue`
      :param timeout:
          Interval period (in seconds) to wait before timing out on the
          event queue.
      :type timeout:
          ``float``
      :raises:
          :class:`queue.Empty`
      """
  
imports: from __future__ import with_statement
  import threading
  from wandb_watchdog.utils import BaseThread
  from wandb_watchdog.utils.compat import queue
  from wandb_watchdog.utils.bricks import SkipRepeatsQueue
label_desc: Use image node_id 4 for calling the EventDispatcher obj's underlying member method code with example usage: obj.dispatch_events(event_queue, timeout) without return types