-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the implementation of the Group.
Remove the separate goroutine collecting errors, and deliver them directly to the error filter and the output field. Moreover simplify the setup and teardown so that there is not so much coordinated state. Although performance was not a primary consideration, benchmarking suggests this is actually faster than the previous implementation, and uses less memory. Also expand and clarify the documentation of the Wait method. Co-Authored-By: David Anderson <[email protected]>
- Loading branch information
1 parent
3287b54
commit 0ed7876
Showing
2 changed files
with
59 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters