Required Associated Typeswift 6.0.1_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
Other requirements
Type members
associatedtype AsyncIterator
The type of asynchronous iterator that produces elements of this asynchronous sequence.
associatedtype Element
The type of element produced by this asynchronous sequence.
Instance members
func makeAsyncIterator(
) -> Self.AsyncIterator Creates the asynchronous iterator that produces elements of this asynchronous sequence.