One Logo Pool Ball
Foundation · IOS API REFERENCE

URL.AsyncBytes.AsyncIterator

struct · iOS 15.0+ · SDK 27.1

@frozen struct AsyncIterator

The iterator type that produces elements of this asynchronous sequence.

Members (1)

method · iOS 15.0+

next

TypeScript
next(): Promise<(number) | null>
Swift declaration
mutating func next() async throws -> UInt8?

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 Foundation types →