awesome-patterns/concurrency/generator.md

8 lines
245 B
Markdown
Raw Normal View History

# Generator Pattern
[Generators](https://en.wikipedia.org/wiki/Generator_(computer_programming)) yields a sequence of values one at a time
# Implementation and Example
You can find the implementation and usage in [generator.go](generator.go)