New implementation of repeat() and async iterator.