docs: 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()