Run an animation indefinitely.
Type of the animation
Time it should take for one loop of the animation to complete.
See Implementation
Run an animation indefinitely.