Invokes an operation asynchronously.
- Parameters
-
| operation | The name of the operation to invoke. |
| mode | The operation mode (normal or idempotent). |
| inParams | An encapsulation containing the encoded in-parameters for the operation. |
| response | The response callback. It accepts:
- returnValue true if the operation completed successfully, false if it completed with a user exception.
- outParams An encapsulation containing the encoded result.
|
| ex | The exception callback. |
| sent | The sent callback. |
| context | The request context. |
- Returns
- A function that can be called to cancel the invocation locally.