OnSuccess
method in Coherence.Cloud
Methods
public CoherenceTask<TResult> OnSuccess(Action<TResult> action)
Specify an action to perform if the operation completes successfully (IsCompletedSuccessfully becomes true.
Parameters
| Type | Name | Description |
|---|---|---|
| Action<TResult> | action | Reference to a function to execute if and when the operation has completed successfully. |
Returns
| Type | Description |
|---|---|
| CoherenceTask<TResult> |