onSuccess
Executes the given action if the result is a success.
Return
The current EncodableResult instance.
Parameters
action
The action to be executed if the result is a success.
Executes the given action if the result is a success.
The current EncodableResult instance.
The action to be executed if the result is a success.