micro_utils.dokka
0.17.8
common
micro_utils.dokka
/
dev.inmo.micro_utils.repos.transforms.kvs
/
asKeyValuesRepo
as
Key
Values
Repo
fun
<
K
,
V
,
VI
:
Iterable
<
V
>
>
KeyValueRepo
<
K
,
VI
>
.
asKeyValuesRepo
(
listToValuesIterable
:
suspend
(
List
<
V
>
)
->
VI
)
:
KeyValuesFromKeyValueRepo
<
K
,
V
,
VI
>
@
JvmName
(
name
=
"asListKeyValuesRepo"
)
fun
<
K
,
V
>
KeyValueRepo
<
K
,
List
<
V
>
>
.
asKeyValuesRepo
(
)
:
KeyValuesFromKeyValueRepo
<
K
,
V
,
List
<
V
>
>
@
JvmName
(
name
=
"asSetKeyValuesRepo"
)
fun
<
K
,
V
>
KeyValueRepo
<
K
,
Set
<
V
>
>
.
asKeyValuesRepo
(
)
:
KeyValuesFromKeyValueRepo
<
K
,
V
,
Set
<
V
>
>