pub fn spinner(time: f64, spinner_type: SpinnerType)Expand description
Displays a console-based spinner animation.
A spinner is a visual indicator of a long-running process. It consists of a set of frames that are displayed sequentially to create the appearance of motion.
ยงParameters
time: A floating-point number representing the duration of the spinner animation in seconds.spinner_type: The type of spinner to display.