repeating actions

with the old version of blender I could say make a wheel turn 360 degrees and then do something to make it repeat that forever.
how do I do that in blender now?
please make it clear!
thanks

Same as in older blender versions, add two keyframes and in graph editor set extrapolation mode to linear for rotation channel


or for the rotation channel in the graph editor add a cycles modifier


thanks
for a back and forth motion, a bell I think I chose constant.
thanks very much for your clear explanation