Skip to content

BoRuDar/asynchronizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asynchronizer

Run functions asynchronously, hides all magic. 100% coverage.

Usage

Your functions should have next signature:

    func job(ctx context.Context) (Result, error)

Than just put your functions and context.Context inside ExecuteAsync():

    results, err := ExecuteAsync(ctx, job1, job2)

About

Hides complexity of concurrent executions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages