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
- The function returning a new completion.
Return
A completion.