fun doOnSuccess(action: Consumer<in A>): Try<A>
Applies the given action to the value if Success, or does nothing if Failure. Returns this for chaining.
this