Iterator

The asynchronous iterator for iterating an asynchronous stream.

iOS
13.0+
macOS
10.15+
tvOS
13.0+
watchOS
6.0+
struct Iterator

This type doesn’t conform to Sendable. Don’t use it from multiple concurrent contexts. It is a programmer error to invoke next() from a concurrent context that contends with another such call, which results in a call to fatalError().