PaginatedResult

interface PaginatedResult<T>

Represents the result of a paginated query.

Not suitable for inheritance

This interface is not designed for implementation or extension outside this SDK. The interface definition may evolve over time with additional properties or methods to support new features, which could break implementations.

Properties

Link copied to clipboard
abstract val items: List<T>

The items returned by the query.

Functions

Link copied to clipboard
abstract fun hasNext(): Boolean

Whether there are more items to query.

Link copied to clipboard
abstract suspend fun next(): PaginatedResult<T>

Fetches the next page of items.