micro_utils.dokka
0.17.3
common
micro_utils.dokka
/
dev.inmo.micro_utils.repos.pagination
Package-level
declarations
Functions
Functions
get
All
Link copied to clipboard
inline suspend
fun
<
T
,
ID
,
REPO
:
ReadCRUDRepo
<
T
,
ID
>
>
REPO
.
getAll
(
crossinline
methodCaller
:
suspend
REPO
.
(
Pagination
)
->
PaginationResult
<
T
>
)
:
List
<
T
>
inline suspend
fun
<
Key
,
Value
,
REPO
:
ReadKeyValueRepo
<
Key
,
Value
>
>
REPO
.
getAll
(
crossinline
methodCaller
:
suspend
REPO
.
(
Pagination
)
->
PaginationResult
<
Key
>
)
:
List
<
Pair
<
Key
,
Value
>
>
inline suspend
fun
<
Key
,
Value
,
REPO
:
ReadKeyValuesRepo
<
Key
,
Value
>
>
REPO
.
getAll
(
crossinline
methodCaller
:
suspend
REPO
.
(
Pagination
)
->
PaginationResult
<
Key
>
)
:
List
<
Pair
<
Key
,
List
<
Value
>
>
>