class

Topia::AsyncSpinner

Inherits Reference < Object

High-performance, non-blocking spinner using Crystal's select and channels

Constants

SPINNER_FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]

Constructors

new(message : String = "Working...", update_interval : Time::Span = 100.milliseconds)
Source

Instance methods

error(message : String)
Source
info(message : String)
Source
message
Source
message=(new_message : String)
Source
running
Source
start(new_message : String | Nil = nil)
Source
stop
Source
success(message : String)
Source
warning(message : String)
Source