OnSuccess
method in Coherence.Cloud
Methods
public PlayerAccountOperation<TResult> OnSuccess(Action<TResult> action)
Specify an action to perform if the operation completes successfully (PlayerAccountOperation<TResult>.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 |
---|---|
PlayerAccountOperation<TResult> |