---
title: makeAsyncIterator()
framework: swift
role: symbol
role_heading: Instance Method
path: swift/asyncthrowingstream/makeasynciterator()
---

# makeAsyncIterator()

Creates the asynchronous iterator that produces elements of this asynchronous sequence.

## Declaration

```swift
func makeAsyncIterator() -> AsyncThrowingStream<Element, Failure>.Iterator
```

## See Also

### Creating an Iterator

- [AsyncThrowingStream.Iterator](swift/asyncthrowingstream/iterator.md)
