toggle menu
cloud-kotlin-extensions
2.0.0
jvm
switch theme
search in API
cloud-kotlin-extensions
/
org.incendo.cloud.kotlin.extension
/
mapSuccess
map
Success
inline
fun
<
C
,
T
,
O
>
ParserDescriptor
<
C
,
T
>
.
mapSuccess
(
noinline
mapper
:
(
CommandContext
<
C
>
,
T
)
->
CompletableFuture
<
O
>
)
:
ParserDescriptor
<
C
,
O
>
Creates a descriptor for a mapped parser.