---
title: AsyncPrefixSequence.Iterator
framework: swift
role: symbol
role_heading: Structure
path: swift/asyncprefixsequence/iterator
---

# AsyncPrefixSequence.Iterator

The iterator that produces elements of the prefix sequence.

## Declaration

```swift
struct Iterator
```

## Topics

### Instance Methods

- [next()](swift/asyncprefixsequence/iterator/next().md)
- [next(isolation:)](swift/asyncprefixsequence/iterator/next(isolation:).md)

### Type Aliases

- [AsyncPrefixSequence.Iterator.Element](swift/asyncprefixsequence/iterator/element.md)

### Default Implementations

- [AsyncIteratorProtocol Implementations](swift/asyncprefixsequence/iterator/asynciteratorprotocol-implementations.md)

## Relationships

### Conforms To

- [AsyncIteratorProtocol](swift/asynciteratorprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
