waitgroup
WaitGroup
WaitGroup from Go for Crystal
Installation
Add this to your application's shard.yml
:
dependencies:
waitgroup:
github: n7olkachev/waitgroup
Usage
require "waitgroup"
wg = WaitGroup.new
wg.add 2
spawn do
sleep 1
wg.done
end
spawn do
wg.done
end
wg.wait
puts "Yay!'
Contributing
- Fork it ( https://github.com/n7olkachev/waitgroup/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- n7olkachev n7olkachev - creator, maintainer
Repository
waitgroup
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- over 7 years ago
- April 10, 2018
License
MIT License
Links
Synced at
Mon, 21 Jul 2025 03:53:11 GMT
Languages