Skip to content

Instance Method

newActivity(for:targetQueue:)

Creates a new ActivityIndicator for this ActivityIndicatorType.
func newActivity(for console: any Console, targetQueue: DispatchQueue? = nil) -> ActivityIndicator<Self>

Parameters

console

Console to use for rendering the ActivityIndicator

targetQueue

An optional target queue (defaults to nil) on which asynchronous updates to the console will be scheduled.

Discussion

See ActivityIndicator for more information.