Class: ActivityResolution
coresdk.activity_result.ActivityResolution
Used to report activity resolutions to lang. IE: This is what the activities are resolved with in the workflow.
Implements
Constructors
constructor
• new ActivityResolution(properties?
): ActivityResolution
Constructs a new ActivityResolution.
Parameters
Name | Type | Description |
---|---|---|
properties? | IActivityResolution | Properties to set |
Returns
Properties
backoff
• Optional
backoff: null
| IDoBackoff
ActivityResolution backoff.
Implementation of
cancelled
• Optional
cancelled: null
| ICancellation
ActivityResolution cancelled.
Implementation of
completed
• Optional
completed: null
| ISuccess
ActivityResolution completed.
Implementation of
failed
• Optional
failed: null
| IFailure
ActivityResolution failed.
Implementation of
status
• Optional
status: "completed"
| "failed"
| "cancelled"
| "backoff"
ActivityResolution status.