Skip to content

Throw an exception if ready is greater than total #5

@ChunkRadius

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.

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