com.r3corda.core / setFrom

setFrom

fun <T> <ERROR CLASS><T>.setFrom(logger: <ERROR CLASS>? = null, block: () -> T): <ERROR CLASS><T>

Executes the given block and sets the future to either the result, or any exception that was thrown.