parameters: (self)
docstring: Flushes the event file to disk.
  
      Call this method to make sure that all pending events have been written to
      disk.
docstring_summary: Flushes the event file to disk.
docstring_tokens: Flushes the event file to disk .
function: def flush(self):
      """Flushes the event file to disk.
  
      Call this method to make sure that all pending events have been written to
      disk.
      """
      self._event_queue.join()
      self._ev_writer.Flush()
function_tokens: def flush ( self ) : self . _event_queue . join ( ) self . _ev_writer . Flush ( )