One Logo Pool Ball
Translation · IOS API REFERENCE

TranslationSession.BatchResponse.AsyncIterator

struct · iOS 18.0+ · SDK 27.1

struct AsyncIterator

The type of asynchronous iterator that produces elements of this asynchronous sequence.

Members (1)

method · iOS 18.0+

next

TypeScript
next(): Promise<(TranslationSession_Response) | null>
Swift declaration
mutating func next() async throws -> TranslationSession.BatchResponse.Element?

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element. - Returns: The next element, if it exists, or `nil` to signal the end of the sequence.

Skipped declarations

No declarations were skipped in this snapshot.

All Translation types →