open fun recover(mapper: Function<Throwable, Future<T>>): Future<T>
Handles a failure of this Future by returning the result of another Future. If the mapper fails, then the returned future will be failed with this failure.
mapper - A function which takes the exception of a failure and returns a new future.
Return
A recovered future