code: def hscan_iter(self, name, match=None, count=10):
          
          cursor = '0'
          while cursor != 0:
              cursor, data = self.hscan(name, cursor=cursor,
                                        match=match, count=count)
              for item in data.items():
                  yield item
docs: Emulate hscan_iter.