All Products
Search
Document Center

Function Compute:AsyncTaskEvent

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The details of the task event.

eventDetailstring

The details of the event payload.

body
eventIdlong

The event ID.

1
statusstring

The state of the event.

  • Enqueued: The asynchronous invocation is enqueued and is waiting to be executed.
  • Succeeded: The invocation is successful.
  • Failed: The invocation fails.
  • Running: The invocation is being executed.
  • Stopped: The invocation is terminated.
  • Stopping: The invocation is being terminated.
  • Invalid: The invocation is invalid and not executed due to specific reasons. For example, the function is deleted.
  • Expired: The maximum validity period of messages is specified for asynchronous invocation. The invocation is discarded and not executed because the specified maximum validity period of has elapsed.
  • Retrying: The asynchronous invocation is being retried due to an execution error.
Succeeded
timestamplong

The timestamp when the event occurred. Unit: milliseconds.

1647420449721