Required Associated Typeswift 6.1.2_Concurrency

Failure

The type of errors produced when iteration over the sequence fails.

iOS
18.0+
macOS
15.0+
tvOS
18.0+
visionOS
2.0+
watchOS
11.0+
associatedtype Failure = any Error where Self.Failure == Self.AsyncIterator.Failure