---
title: WAPairedDevice.DevicesSequence.AsyncIterator
framework: wifiaware
role: symbol
role_heading: Class
path: wifiaware/wapaireddevice/devicessequence/asynciterator
---

# WAPairedDevice.DevicesSequence.AsyncIterator

An iterator for the sequence of devices.

## Declaration

```swift
class AsyncIterator
```

## Topics

### Getting the next asynchronous update

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

### Throwing an error

- [WAPairedDevice.DevicesSequence.AsyncIterator.Failure](wifiaware/wapaireddevice/devicessequence/asynciterator/failure.md)

## Relationships

### Conforms To

- [AsyncIteratorProtocol](swift/asynciteratorprotocol.md)

## See Also

### Getting async updates

- [makeAsyncIterator()](wifiaware/wapaireddevice/devicessequence/makeasynciterator().md)
- [WAPairedDevice.DevicesSequence.Element](wifiaware/wapaireddevice/devicessequence/element.md)
