MCPcopy Create free account
hub / github.com/temporalio/temporal / WorkflowRunTimeout

Method WorkflowRunTimeout

chasm/ms_pointer.go:27–29  ·  view source on GitHub ↗

WorkflowRunTimeout returns the workflow run timeout duration. Returns 0 if no timeout is set.

()

Source from the content-addressed store, hash-verified

25
26// WorkflowRunTimeout returns the workflow run timeout duration. Returns 0 if no timeout is set.
27func (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.
32func (m MSPointer) AddHistoryEvent(t enumspb.EventType, setAttributes func(*historypb.HistoryEvent)) *historypb.HistoryEvent {

Callers 1

handleScheduleCommandMethod · 0.80

Calls 2

GetWorkflowRunTimeoutMethod · 0.65
GetExecutionInfoMethod · 0.65

Tested by

no test coverage detected