Stellar Rotation is the rotation of a star in the same manner as the Sun and Earth rotate. It can be measured using the spectrum of the star or the timing of periodic variations.
The star's rotation causes it to take a non-spherical shape through centrifugal force. The rotation can be different for different parts of the star, such as the Sun's higher rotation at its equator than its poles (26 days at the equator, 38 days at the poles).
The spectrum of the star shows rotation by the Doppler Shift of the portions of the star moving radially toward us and the portions moving away, resulting in a type of Line Broadening. While the Angular Velocity (radians-per-time-unit) is of interest, line broadening reveals Radial Velocity, from which the Rotational Velocity (the speed of points on the equator due to rotation) can be determined if the direction of the axis of rotation is known. The Critical Velocity of a star is that above which it is unstable and would break up.
Stars lose their rotation over time and the measured rotation is used as a proxy for the age of the star (Gyrochronology).
When a star collapses, e.g., to a White Dwarf, a Neutron Star, or a Black Hole, the conservation of angular momentum causes the rotation to increase, thus the occurrence of neutron stars observed with rotational periods on the order of a thousandth of a second.