WithDelay adds a delay to the SpinnerPrinter.
(delay time.Duration)
| 72 | |
| 73 | // WithDelay adds a delay to the SpinnerPrinter. |
| 74 | func (s SpinnerPrinter) WithDelay(delay time.Duration) *SpinnerPrinter { |
| 75 | s.Delay = delay |
| 76 | return &s |
| 77 | } |
| 78 | |
| 79 | // WithMessageStyle adds a style to the SpinnerPrinter message. |
| 80 | func (s SpinnerPrinter) WithMessageStyle(style *Style) *SpinnerPrinter { |
no outgoing calls