GenericStop runs Stop, but returns a LivePrinter. This is used for the interface LivePrinter. You most likely want to use Stop instead of this in your program.
()
| 210 | // This is used for the interface LivePrinter. |
| 211 | // You most likely want to use Stop instead of this in your program. |
| 212 | func (s *SpinnerPrinter) GenericStop() (*LivePrinter, error) { |
| 213 | _ = s.Stop() |
| 214 | lp := LivePrinter(s) |
| 215 | return &lp, nil |
| 216 | } |
| 217 | |
| 218 | // Info displays an info message |
| 219 | // If no message is given, the text of the SpinnerPrinter will be reused as the default message. |
nothing calls this directly
no test coverage detected