Avatar
omochimetaru 9/24/2021 5:37 AM
public protocol AsyncSequence { associatedtype AsyncIterator: AsyncIteratorProtocol where AsyncIterator.Element == Element associatedtype Element __consuming func makeAsyncIterator() -> AsyncIterator } public protocol AsyncIteratorProtocol { associatedtype Element mutating func next() async throws -> Element? }