mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-15 08:23:11 +00:00
small update
This commit is contained in:
1 parent
30b70e9984
commit
1b540199f0
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -29,7 +29,7 @@ suspend fun <T> doAllWithCurrentPaging(
|
||||
) {
|
||||
doForAll(
|
||||
initialPagination,
|
||||
{ it.thisPageIfNotEmpty() },
|
||||
{ it.currentPageIfNotEmpty() },
|
||||
block
|
||||
)
|
||||
}
|
||||
+1
-1
@@ -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