code: func (r *Runner) runThen(gen func(chan<- func() error), then func()) <-chan error {
  	r.init()
  
  	return runImpl(gen, r.workC, then)
  }
docs: // runThen is a thin wrapper around Run that enables an after call function to
  // be invoked when the generator has finished.