Iterator
public struct Iterator : AsyncIteratorProtocol
An AsyncIteratorProtocol
of results from an AsyncCloudKit operation.
See also
AsyncSequence
-
next()AsynchronousAsynchronously advances to the next result and returns it, or ends the sequence if there is no next result.
Declaration
Swift
public mutating func next() async throws -> Element?Return Value
The next result, if it exists, or
nilto signal the end of the sequence.
View on GitHub
Iterator Structure Reference