proxy.golang.org : github.com/ngicks/go-iterator-helper
This package only contains some example which did not fit to other packages. See other packages' godoc for usage. Example async worker channel demonstrates usage of [hiter.Chan], [hiter.ChanSend]. It sends values from seq to worker running on separates goroutines. Workers work on values and then send results back to the main goroutine. Example async worker map demonstrates usage of async.Map. At the surface it is similar to [xiter.Map2]. Actually it calls mapper in separate goroutine. If you don't care about order of element, just send values to workers through a channel and send back through another channel. Example error handle demonstrates various way to handle error.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/ngicks/go-iterator-helper
License: MIT
Latest release: 4 months ago
First release: 8 months ago
Namespace: github.com/ngicks
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago