Skip to content

Throw an exception if ready is greater than total #5

Description

@ChunkRadius

One somewhat helpful feature of WaitGroup in go is that it throws a panic if the counter is negative. Would like to suggest throwing an exception under the same circumstances in this library.

Would be happy to submit a PR, it should only need a line or two.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions