Skip to content

Commit 08010e4

Browse files
committed
Comment interface
1 parent efcd397 commit 08010e4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pkg/core/task/workflow.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ const (
1313
)
1414

1515
type Workflow struct {
16+
// WorkflowInstance is the workflow instance that this task is for
1617
WorkflowInstance core.WorkflowInstance
1718

19+
// Kind defines what kind of task this is. A Continuation task only contains
20+
// new events and not the full history. By default the history is included.
1821
Kind Kind
1922

20-
History []history.Event
23+
// History are the events that have been executed so far
24+
History []history.Event
25+
26+
// NewEvents are new events since the last task execution
2127
NewEvents []history.Event
2228
}

0 commit comments

Comments
 (0)