Skip to content

Run asynchronous code in parallel using Go routines (Promise.all analog)

License

Notifications You must be signed in to change notification settings

peterdee/go-promise-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emulating Promise.all() in Golang using sync.WaitGroup()

This example shows the usage of sync.WaitGroup() that helps with Promise.all() emulation.

Deploy

git clone https://github.com/peterdee/go-promise-all
cd ./go-promise-all

Launch

go run ./main.go

License

MIT

About

Run asynchronous code in parallel using Go routines (Promise.all analog)

Topics

Resources

License

Stars

Watchers

Forks

Languages