toggle menu
micro_utils.dokka
0.23.1
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
SimpleSuspendableMapperImpl
Simple
Suspendable
Mapper
Impl
class
SimpleSuspendableMapperImpl
<
T1
,
T2
>
(
t1
:
suspend
(
T2
)
->
T1
,
t2
:
suspend
(
T1
)
->
T2
)
:
SimpleSuspendableMapper
<
T1
,
T2
>
(
source
)
Members
Members & Extensions
Constructors
Simple
Suspendable
Mapper
Impl
Link copied to clipboard
constructor
(
t1
:
suspend
(
T2
)
->
T1
,
t2
:
suspend
(
T1
)
->
T2
)
Functions
convert
Link copied to clipboard
@
JvmName
(
name
=
"convertFromT2"
)
suspend
fun
<
T1
,
T2
>
SimpleSuspendableMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
convert
To
T1
Link copied to clipboard
open
suspend override
fun
convertToT1
(
from
:
T2
)
:
T1
convert
To
T2
Link copied to clipboard
open
suspend override
fun
convertToT2
(
from
:
T1
)
:
T2