Skip to content

Move Spinner code to function #101

@ghost

Description

With this API for spinner, it would be easy to forget to call Stop() when handling errors and spin forever.

Maybe it could be changed to a function to help you rememeber to clean up?

s.Run(func() {
  // after this runs the spinner is stopped
})

Image of Max H Max H

Originally posted by @pullrequest[bot] in #96 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions