chain

open fun <V2> chain(action: (V) -> Future<V2, E>): Future<V2, E>

When this Future completes, run another async operation.

Return

A Future that will resolve when both operations have completed.