syncs
syncs copied to clipboard
Concurrency and synchronization primitives
Hi, yesterday I decided to take a closer look at the examples from the readme, in the process it turned out that [the last example](https://github.com/go-pkgz/syncs/blob/d557ed00dfb3ff164f2f1051fc9cb3351d7267c3/README.md?plain=1#L73) for ErrSizedGroup runs with an...
This proposal is related to #4, but with a slight difference. Instead of discarding calls as soon as the group size is reached, the discard process will begin only after...
…g channels The change is inspired by the comment https://github.com/go-pkgz/syncs/issues/5#issuecomment-1504123418. The solution relies on channels as the main synchronization primitive, instead of semaphore.