onSuccess
Perform an action if the result was successful.
Return
The original result.
Parameters
block
The action to perform if the result was successful.
Perform an action if the result was successful.
The original result.
The action to perform if the result was successful.