mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-20 07:37:15 +00:00
small update
This commit is contained in:
parent
30b70e9984
commit
1b540199f0
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user