Applies the side-effecting future-returning function to the result of this future, and returns a new future with the result of this future.
Applies the side-effecting future-returning function to the result of this future, and returns a new future with the result of this future.
The chain will continue only after the future returned by side-effecting's function completes. If said future completes with a failure it will be reported to the execution context and won't fail entire chain.
only used to accept any return type of the given PartialFunction
a PartialFunction
which will be conditionally applied to the outcome of this Future
a Future
which will be completed with the exact same outcome as
this Future
but after the PartialFunction
has been executed.