onSuccess
Runs action on the carried value if this is a DataResult.Success, and returns this result either way.
Return
This result, for chaining.
Parameters
action
What to do with the value.
Runs action on the carried value if this is a DataResult.Success, and returns this result either way.
This result, for chaining.
What to do with the value.