---
title: "nextBatch(limit:)"
framework: musickit
role: symbol
role_heading: Instance Method
path: "musickit/musicitemcollection/nextbatch(limit:)-432i0"
---

# nextBatch(limit:)

Fetches the next batch of items asynchronously.

## Declaration

```swift
func nextBatch(limit: Int? = nil) async throws -> MusicItemCollection<MusicItemType>? where MusicItemType : Decodable
```

## Discussion

Discussion This method returns the next batch of items as another collection of music items of the same type.
