abstract fun <U : Any!, V : Any!> thenCombine(other: AsyncResult<out U>!, fn: BiFunction<in T, in U, out V>!): AsyncResult<V>!(source)
Returns a result that, when this result and the other result both complete normally, completes with the value obtained from executing the supplied function with both this result's value and the value from the other result as arguments.
other - AsyncResult<out U>!: The other result.
fn - BiFunction<in T, in U, out V>!: The function to execute.
- The type of the other's value.
- The type of the value returned by the function.
AsyncResult<V>!: A new result.