SequenceAsyncSequenceIterator
public struct SequenceAsyncSequenceIterator<P> : AsyncIteratorProtocol where P : Sequence
-
Declaration
Swift
public init(_ iterator: P.Iterator)
-
next()
AsynchronousProduces the next element in the sequence.
Declaration
Swift
public mutating func next() async -> P.Element?
Return Value
The next element or
nil
if the end of the sequence is reached.