|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The struct of the asynchronous task. |
||
| functionName |
string |
The name of the function to which the asynchronous task belongs. |
functionName |
| serviceName |
string |
The name of the service that contains the function to which the asynchronous task belongs. |
serviceName |
| qualifier |
string |
The version or alias of the service that contains the function to which the asynchronous task belongs. |
LATEST |
| invocationId |
string |
The ID of the asynchronous task. |
demo-id |
| status |
string |
The state of the asynchronous task.
|
Running |
| startedTime |
integer |
The start time of the asynchronous task. |
1633449590000 |
| endTime |
integer |
The end time of the asynchronous task. |
1633449599000 |
| destinationStatus |
string |
The state of the asynchronous task. |
Succeeded |
| invocationErrorMessage |
string |
The error message for the failed asynchronous task. |
UnhandledInvocationError |
| invocationPayload |
string |
The event triggered by the asynchronous task. |
"body" |
| alreadyRetriedTimes |
integer |
The number of retries if the asynchronous task fails. |
3 |
| requestId |
string |
The request ID of the asynchronous task. |
ABA740D4-********-882707EADC37 |
| instanceId |
string |
The ID of the instance that is used to run the asynchronous task. |
D4-*******9FD1-882707E |
| events |
array |
The list of events that trigger the asynchronous task. |
|
| StatefulAsyncInvocationEvent |
The event that triggers the asynchronous task. |
||
| durationMs |
integer |
The execution duration of the asynchronous task. |
100 |
| returnPayload |
string |
The result returned by the asynchronous task. The size limit is 1 MB. |
my-result |