PaginatedResult

interface PaginatedResult<T>

Represents the result of a paginated query.

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.