micro_utils.dokka
0.16.12
common
micro_utils.dokka
/
dev.inmo.micro_utils.repos
/
SimpleMapperRepo
/
SimpleMapperRepo
Simple
Mapper
Repo
fun
<
FromKey
,
FromValue
,
ToKey
,
ToValue
>
SimpleMapperRepo
(
keyFromToTo
:
suspend
FromKey
.
(
)
->
ToKey
,
valueFromToTo
:
suspend
FromValue
.
(
)
->
ToValue
,
keyToToFrom
:
suspend
ToKey
.
(
)
->
FromKey
,
valueToToFrom
:
suspend
ToValue
.
(
)
->
FromValue
)