---
title: makeAsyncIterator()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/url/asyncbytes/makeasynciterator()
---

# makeAsyncIterator()

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

## Declaration

```swift
func makeAsyncIterator() -> URL.AsyncBytes.AsyncIterator
```

## Return Value

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

## See Also

### Creating an iterator

- [URL.AsyncBytes.AsyncIterator](foundation/url/asyncbytes/asynciterator.md)
