docs
4.12
customSourceSet
docs
/
net.corda.core.concurrent
/
match
match
fun
<
V
,
W
>
Future
<
V
>
.
match
(
success
:
(
V
)
->
W
,
failure
:
(
Throwable
)
->
W
)
:
W
Invoke
getOrThrow
and pass the value/throwable to success/failure respectively.