Versions in this module Expand all Collapse all v0 v0.7.0 Nov 6, 2022 v0.6.0 Oct 30, 2022 Changes in this version + var ErrStopGenerator = errors.New("stop generator") + type G struct + func (g *G[T]) Send(v T) + type GIterator struct + func Generator(fn GeneratorFn[T]) *GIterator[T] + func GeneratorNoGC(fn GeneratorFn[T]) *GIterator[T] + func (gi *GIterator[T]) Iter() itkit.Iterator[T] + func (gi *GIterator[T]) Next() bool + func (gi *GIterator[T]) Stop() + type GeneratorFn func(g *G[T])