---
title: next()
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: createmlcomponents/humanbodyactioncounter/cumulativesumsequence/iterator/next()
---

# next()

Advances to the next element and returns it, or nil if no next element exists.

## Declaration

```swift
mutating func next() async throws -> TemporalFeature<Float>?
```
