fork

fun <V> Executor.fork(block: () -> V): CordaFuture<V>

Return

a future that will have the same outcome as the given block, when this executor has finished running it.