v1.0.0
Initial stable release of package workerpool.
What's Changed
- Document Submit and Drain returning ErrClosed by @tklauser in #1
- Close tasks channel after WaitGroup.Wait by @tklauser in #3
- test: fix flaky drain test by @rolinh in #4
- Waiit for the "run" routine to return on Close by @rolinh in #5
- workerpool: add Cap() to retrieve the WorkerPool capacity by @kaworu in #7
- make Close() return an error when called more than once by @kaworu in #6
- Test Drain on already drained worker pool by @tklauser in #8
- tests cleanup by @kaworu in #9
- Test that New(n) with n ≤ 0 will panic by @tklauser in #10
- workerpool: refactor results to avoid unnecessary copy by @kaworu in #11
- add context to the task function signature by @rolinh in #12
- ci: update Go to 1.15.8 by @kaworu in #13
- cosmetic testing improvements by @kaworu in #14
- ci: update Go to 1.16 by @rolinh in #15
- .github: use matrix strategy and test with Go 1.15 as well by @tklauser in #16
- doc: remove experimental warning in the readme by @rolinh in #17
- doc: add Go doc reference and CI badges to the readme by @rolinh in #18
Full Changelog: https://github.com/cilium/workerpool/commits/v1.0.0