harmony
harmony copied to clipboard
Go's concurrency patterns as generic library to use.
Results
4
harmony issues
Sort by
recently updated
recently updated
newest added
Current State * `PatternNameWithDone(done, ...)` * `PatternNameWithContext(ctx, ...)` ~~Maybe Option 1 - generic~~ > Impossible because we can't union interfaces and types * ~~`PatternName(Cancelable, ...) (chan T, error)` where Cancelable...
Implement waitable workerpool. ```go wp := harmony.WorkerPoolWithContext(ctx, ch, 10, func(n uint64) { if !isPrime(n) { return } primesCh
Add `Must`-like functions as an alternative for returning error added in #14
- [x] add `Bridge` (reading from the sequence of the channels) - [ ] add usecase (`crawler?`)