code: def get_value(self, consumer=None):
          
          if consumer:
              self.consumers[consumer] = True
          return self.value
docs: If consumer is specified, the channel will record that consumer as having consumed the value.