Implement a candidate generator using goroutines.