// Next advances stream. Should not be called unless Changes returns a closed channel.
Next advances stream. Should not be called unless Changes returns a closed channel.
// Next advances stream . Should not be called unless Changes returns a closed channel .
func (s *Stream[T]) Next() T {
	s.state = s.state.next
	return s.Value()
}
func ( s * Stream [ T ] ) Next ( ) T { s . state = s . state . next return s . Value ( ) }
Next advances stream.
Next advances stream .