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