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)
SourceInstance methods
error(message : String)
Sourceinfo(message : String)
Sourcemessage
Sourcemessage=(new_message : String)
Sourcerunning
Sourcestart(new_message : String | Nil = nil)
Sourcestop
Sourcesuccess(message : String)
Sourcewarning(message : String)
Source