Protocol
ActivityIndicatorType
ActivityIndicatorTypes are responsible for drawing / rendering the current ActivityIndicatorState to the Console.protocol ActivityIndicatorType : Sendable
Overview
ActivityIndicators are created from an instance of ActivityIndicatorType and control the implementation behind calling the ActivityIndicatorType for ActivityIndicatorState changes.
See the ActivityBar protocol which is based off of this protocol.
Topics
Instance Methods
func newActivity(for: any Console, targetQueue: DispatchQueue?) -> ActivityIndicator<Self>Creates a newActivityIndicatorfor thisActivityIndicatorType.func outputActivityIndicator(to: any Console, state: ActivityIndicatorState)Draws / renders thisActivityIndicatorTypeto theConsolefor the suppliedActivityIndicatorState.
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype