take

open suspend fun take(n: Int): List<T?>

Returns a list containing at most first n elements. Note that additional requests may be performed. The limit used in the request used to produce this PagingObjectBase will be respected, so choose limit carefully.

Sources

common source
Link copied to clipboard