Contents

AsyncThrowingStream.Iterator

The asynchronous iterator for iterating an asynchronous stream.

Declaration

struct Iterator

Overview

This type is not 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().

Topics

Iterating over Elements

Instance Methods

Default Implementations

See Also

Creating an Iterator