A function that uses yield to produce values one at a time, pausing between them.