abstract fun thenCompose(fn: Function<in T, out AsyncCompletion!>!): AsyncCompletion!
(source)
When this result completes normally, invokes the given function with the resulting value and obtains a new AsyncCompletion
.
fn
- Function<in T, out AsyncCompletion!>!: The function returning a new completion.
Return
AsyncCompletion!: A completion.