Hi, Would it be an idea to add a `value_and_reset()` function? I'm guessing it's a common use case to want to read the input and reset it at the same time.