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