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

# makeAsyncIterator()

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

## Declaration

```swift
func makeAsyncIterator() -> Self.AsyncIterator
```

## Return Value

Return Value An instance of the AsyncIterator type used to produce elements of the asynchronous sequence.

## See Also

### Creating an Iterator

- [AsyncIterator](swift/asyncsequence/asynciterator.md)
- [AsyncIteratorProtocol](swift/asynciteratorprotocol.md)
- [Element](swift/asyncsequence/element.md)
