WorkflowRunTimeout returns the workflow run timeout duration. Returns 0 if no timeout is set.
()
| 25 | |
| 26 | // WorkflowRunTimeout returns the workflow run timeout duration. Returns 0 if no timeout is set. |
| 27 | func (m MSPointer) WorkflowRunTimeout() time.Duration { |
| 28 | return m.backend.GetExecutionInfo().GetWorkflowRunTimeout().AsDuration() |
| 29 | } |
| 30 | |
| 31 | // AddHistoryEvent adds a history event via the underlying mutable state. |
| 32 | func (m MSPointer) AddHistoryEvent(t enumspb.EventType, setAttributes func(*historypb.HistoryEvent)) *historypb.HistoryEvent { |
no test coverage detected