corda / net.corda.core.utilities / java.util.concurrent.Future

Extensions for java.util.concurrent.Future

getOrThrow

Same as Future.get except that the ExecutionException is unwrapped.

fun <V> Future<V>.getOrThrow(timeout: Duration? = null): V