---
title: makeAsyncIterator()
framework: wifiaware
role: symbol
role_heading: Instance Method
path: wifiaware/wapaireddevice/devicessequence/makeasynciterator()
---

# makeAsyncIterator()

Makes an asynchronous iterator that provides successive device snapshots when the list of paired devices known to the app changes.

## Declaration

```swift
func makeAsyncIterator() -> WAPairedDevice.DevicesSequence.AsyncIterator
```

## Return Value

Return Value A new asynchronous iterator vending WAPairedDevice.Devices elements when changes occur.

## See Also

### Getting async updates

- [WAPairedDevice.DevicesSequence.AsyncIterator](wifiaware/wapaireddevice/devicessequence/asynciterator.md)
- [WAPairedDevice.DevicesSequence.Element](wifiaware/wapaireddevice/devicessequence/element.md)
