Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitFor ¶
func WaitFor(ctx context.Context, fn func(), terminal cli.Ui, msg string, initialDelay time.Duration) error
WaitFor runs fn, and prints msg to the terminal if it takes longer than initialDelay to complete. Depending on the terminal configuration, it may display a single instance of msg, or an infinite spinner, updated every 250ms.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.