corda / net.corda.core / rx.Observable / toFuture
toFuture
fun <T> Observable<T>.toFuture(): ListenableFuture<T>
Returns a ListenableFuture bound to the first item emitted by this Observable. The future will complete with a
NoSuchElementException if no items are emitted or any other error thrown by the Observable.