Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v1.6.0
type Option func(*Task)
func WithNoOutput ¶ added in v1.6.0
func WithNoOutput() Option
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) Run ¶
Run runs the task, providing animated output as it does so. If the task fails, the error from the task function will be returned here.
func (*Task) StopAnimation ¶
func (t *Task) StopAnimation()
Click to show internal directories.
Click to hide internal directories.