Class: WorkflowExecutionTimeSkippingTransitionedEventAttributes
history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributes
Attributes for an event indicating that time skipping state changed for a workflow execution, either time was advanced or time skipping was disabled automatically due to a bound being reached. The worker_may_ignore field in HistoryEvent should always be set true for this event.
Implements
Constructors
constructor
• new WorkflowExecutionTimeSkippingTransitionedEventAttributes(properties?): WorkflowExecutionTimeSkippingTransitionedEventAttributes
Constructs a new WorkflowExecutionTimeSkippingTransitionedEventAttributes.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkflowExecutionTimeSkippingTransitionedEventAttributes | Properties to set |
Returns
WorkflowExecutionTimeSkippingTransitionedEventAttributes
Properties
disabledAfterBound
• disabledAfterBound: boolean
when true, time skipping was disabled automatically due to a bound being reached. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "after" is used to indicate temporal ordering. --)
Implementation of
IWorkflowExecutionTimeSkippingTransitionedEventAttributes.disabledAfterBound
targetTime
• Optional targetTime: null | ITimestamp
The virtual time after time skipping was applied.
Implementation of
IWorkflowExecutionTimeSkippingTransitionedEventAttributes.targetTime
wallClockTime
• Optional wallClockTime: null | ITimestamp
The wall-clock time when the time-skipping state changed event was generated.
Implementation of
IWorkflowExecutionTimeSkippingTransitionedEventAttributes.wallClockTime
Methods
toJSON
▸ toJSON(): Object
Converts this WorkflowExecutionTimeSkippingTransitionedEventAttributes to JSON.
Returns
Object
JSON object
create
▸ create(properties?): WorkflowExecutionTimeSkippingTransitionedEventAttributes
Creates a new WorkflowExecutionTimeSkippingTransitionedEventAttributes instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkflowExecutionTimeSkippingTransitionedEventAttributes | Properties to set |
Returns
WorkflowExecutionTimeSkippingTransitionedEventAttributes
WorkflowExecutionTimeSkippingTransitionedEventAttributes instance
decode
▸ decode(reader, length?): WorkflowExecutionTimeSkippingTransitionedEventAttributes
Decodes a WorkflowExecutionTimeSkippingTransitionedEventAttributes message from the specified reader or buffer.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
WorkflowExecutionTimeSkippingTransitionedEventAttributes
WorkflowExecutionTimeSkippingTransitionedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing