mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-09-03 15:19:44 +00:00
small update
This commit is contained in:
@@ -29,7 +29,7 @@ suspend fun <T> doAllWithCurrentPaging(
|
|||||||
) {
|
) {
|
||||||
doForAll(
|
doForAll(
|
||||||
initialPagination,
|
initialPagination,
|
||||||
{ it.thisPageIfNotEmpty() },
|
{ it.currentPageIfNotEmpty() },
|
||||||
block
|
block
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@@ -30,6 +30,6 @@ suspend fun <T> getAllWithCurrentPaging(
|
|||||||
block: suspend (Pagination) -> PaginationResult<T>
|
block: suspend (Pagination) -> PaginationResult<T>
|
||||||
): List<T> = getAll(
|
): List<T> = getAll(
|
||||||
initialPagination,
|
initialPagination,
|
||||||
{ it.thisPageIfNotEmpty() },
|
{ it.currentPageIfNotEmpty() },
|
||||||
block
|
block
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user