SwiftstructAsyncAlgorithmsInternal

struct AsyncAlgorithmsInternal.AsyncRemoveDuplicatesSequence.Iterator

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 7

  1. fieldvar iterator: A.AsyncSequence.AsyncIterator
  2. fieldvar last: A.AsyncSequence.Element?
  3. fieldlet predicate: @Sendable (A.AsyncSequence.Element, A.AsyncSequence.Element) async -> Bool
  4. funcnext() async throws -> A.Element?
  5. initinit(iterator: A.AsyncIterator, predicate: @Sendable (A.Element, A.Element) async -> Bool) -> AsyncAlgorithmsInternal.AsyncRemoveDuplicatesSequence<A>.Iterator
  6. typealiastypealias Element = A.Swift.AsyncSequence.Element
  7. typealiastypealias Failure = A.Swift.AsyncSequence.Failure
struct AsyncAlgorithmsInternal.AsyncRemoveDuplicatesSequence.Iterator {
    var iterator: A.AsyncIterator
    let predicate: @Sendable (A.Element, A.Element) async -> Swift.Bool
    var last: A.Element?

    init(iterator: A.AsyncIterator, predicate: @escaping @Sendable (A.Element, A.Element) async -> Swift.Bool)

    func next() async throws -> A.Element?
}