Documentation
¶
Index ¶
- func DSLWorkflow(ctx workflow.Context, steps []DSLStep) error
- func ExecuteActivityWorkflow(ctx workflow.Context, input ExecuteActivityWorkflowInput) error
- func ReceiveSignalWorkflow(ctx workflow.Context, input ReceiveSignalWorkflowInput) error
- type DSLStep
- type ExecuteActivityWorkflowInput
- type ReceiveSignalWorkflowInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DSLWorkflow ¶ added in v1.2.0
DSLWorkflow executes a list of DSLStep instructions.
func ExecuteActivityWorkflow ¶
func ExecuteActivityWorkflow(ctx workflow.Context, input ExecuteActivityWorkflowInput) error
func ReceiveSignalWorkflow ¶ added in v1.1.0
func ReceiveSignalWorkflow(ctx workflow.Context, input ReceiveSignalWorkflowInput) error
Types ¶
type DSLStep ¶ added in v1.2.0
type DSLStep struct { Activity string `json:"a,omitempty"` Input interface{} `json:"i,omitempty"` Child []DSLStep `json:"c,omitempty"` Repeat int `json:"r,omitempty"` }
DSL step: either an activity or a child workflow (which is always this workflow)
type ReceiveSignalWorkflowInput ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.