Home > @aws/durable-execution-sdk-js-testing > DurableOperation
Interface for individual operation level interactions in durable executions. Provides methods to inspect operation details, wait for data, and send callback responses.
Signature:
export interface DurableOperation<TResult = any>|
Method |
Description |
|---|---|
|
Gets the details for a callback operation. | |
|
Gets the details for a chained invoke operation. | |
|
Gets all child operations of this operation. | |
|
Gets the details for a context operation. | |
|
Gets the timestamp when this operation ended. | |
|
Gets the events associated with this operation. | |
|
Gets the unique identifier of this operation. | |
|
Gets the name of this operation. | |
|
Gets the raw operation data. | |
|
Gets the unique identifier of the parent operation. | |
|
Gets the timestamp when this operation started. | |
|
Gets the current status of this operation. | |
|
Gets the details for a step operation. | |
|
Gets the subtype of this operation. | |
|
Gets the type of this operation. | |
|
Gets the details for a wait operation. | |
|
Checks if this operation is a callback operation. | |
|
Checks if this operation is a wait-for-callback operation. | |
|
Sends a callback failure to the durable execution service. | |
|
Sends a callback heartbeat to the durable execution service to keep the callback active. | |
|
Sends a successful callback result to the durable execution service. | |
|
Wait for data for the current operation. If data is not found by the time the execution completes, this function will throw an error. |