def flush(self):
        """Flushes the current queue by notifying the :func:`sender` via the :func:`flush_notification` event.
        """
        self._flush_notification.set()
        if self.sender:
            self.sender.start()
def flush ( self ) : self . _flush_notification . set ( ) if self . sender : self . sender . start ( )
Flushes the current queue by notifying the :func:`sender` via the :func:`flush_notification` event.