Skip to content

Use custom go pool #135

@cocktail18

Description

@cocktail18

conc would spawns a new goroutine when pool.Go call each time.
It would cause waste of resources in some case.
Is it had a plan to use a custom goroutine pool instead of spawn every time ?
for example:

type gPool interface {
    Do(func (){})
}

pool.NewWithCustomPool(gPool)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions