next()

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element.

Declaration

func next() async -> IteratorElement?