com.r3corda.client.fxutils / javafx.beans.value.ObservableValue / bindOut

bindOut

fun <A, B> ObservableValue<out A>.bindOut(function: (A) -> ObservableValue<out B>): ObservableValue<out B>

A variant of bind that has out variance on the output type. This is sometimes useful when kotlin is too eager to propagate variance constraints and type inference fails.