Skip to content

Include async limit #2

@rodrigo-brito

Description

@rodrigo-brito

The async.Run execute all functions in the same time.
Maybe a limit parameter can help with limited asynchronous tasks.

Suggestion of signature:

runner := async.NewRunner(tasks...).WithLimit(5).OtherOption(foo, bar)
err := runner.Do(ctx)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions