SwiftstructAsyncAlgorithmsInternal
struct AsyncAlgorithmsInternal.AsyncThrowingExclusiveReductionsSequence.Iterator
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.AsyncIteratorProtocol
Members 7
- field
var current: B? - field
var iterator: A.AsyncSequence.AsyncIterator - field
let transform: @Sendable (inout B, A.AsyncSequence.Element) async throws -> () - func
next() async throws -> B? - init
init(_: A.AsyncIterator, initial: B, transform: @Sendable (inout B, A.Element) async throws -> ()) -> AsyncAlgorithmsInternal.AsyncThrowingExclusiveReductionsSequence<A, B>.Iterator - typealias
typealias Element = B - typealias
typealias Failure = Swift.Error
Header
struct AsyncAlgorithmsInternal.AsyncThrowingExclusiveReductionsSequence.Iterator { var iterator: A.AsyncIterator var current: B? let transform: @Sendable (inout B, A.Element) async throws -> () init(_: A.AsyncIterator, initial: B, transform: @escaping @Sendable (inout B, A.Element) async throws -> ()) func next() async throws -> B? }