---
title: next()
framework: arkit
role: symbol
role_heading: Instance Method
path: arkit/anchorupdatesequence/iterator/next()
---

# next()

Asynchronously retrieve the next anchor update.

## Declaration

```swift
mutating func next() async -> AnchorUpdateSequence<AnchorType>.Iterator<TypeOfAnchor>.Element?
```

## Return Value

Return Value The next anchor update if one has occurred since the last call to this function. Otherwise suspends the caller until a new anchor update has occurred. Returns nil (signals end of the sequence) if the provider has been stopped.
