API Reference
Class
SpinnerHandle
Thread-safe live handle for a Spinner.
Inheritance
- LiveHandle
- SpinnerHandle
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Method Spinner.Handle
Constructors
public SpinnerHandle(ILiveDispatcher dispatcher, String target) #Creates a handle.
Parameters
- dispatcher ConsoleMonster.Live.ILiveDispatcher
- The dispatcher.
- target System.String
- The spinner name.
Methods
public Void Complete(StatusKind status = Pass, String? detail = null) #Returns:
VoidSets the final status (Pass, Fail, Warn, Skip), optionally with a closing detail.
Parameters
- status ConsoleMonster.Styling.StatusKind = Pass
- The status.
- detail System.String? = null
- The detail, or null to keep the current one.
public Void Detail(String? detail) #Returns:
VoidChanges the muted detail, for example the current item.
Parameters
- detail System.String?
- The detail, or null to clear it.
public Void Label(String label) #Returns:
VoidChanges the label.
Parameters
- label System.String
- The label (markup).
public Void Start(String? label = null) #Returns:
VoidRestarts the clock and returns to running, optionally with a new label.
Parameters
- label System.String? = null
- The new label (markup), or null to keep it.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?