<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FinanceKit",
  "identifier" : "/documentation/FinanceKit/FinanceStore/History/Iterator/next()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "FinanceKit"
    ],
    "preciseIdentifier" : "s:10FinanceKit0A5StoreC7HistoryV8IteratorV4nextAC7ChangesVy_xGSgyYaKF"
  },
  "title" : "next()"
}
-->

# next()

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element.

```
func next() async throws -> FinanceStore.Changes<Model>?
```

## Return Value

The next element, if it exists, or `nil` to signal the end of the sequence.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)