code: def iter_events(self, tag='', full=False, match_type=None, auto_reconnect=False):
          '''
          Creates a generator that continuously listens for events
          '''
          while True:
              data = self.get_event(tag=tag, full=full, match_type=match_type,
                                    auto_reconnect=auto_reconnect)
              if data is None:
                  continue
              yield datf iter_events(self, tag='', full=False, match_type=None, auto_reconnect=False):
          '''
          Creates a generator that continuously listens for events
          '''
          while True:
              data = self.get_event(tag=tag, full=full, match_type=match_type,
                                    auto_reconnect=auto_reconnect)
              if data is None:
                  continue
              yield data
docs: Creates a generator that continuously listens for events