Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWorkflowCanceled = errors.New("workflow canceled")
View Source
var ErrWorkflowTerminated = errors.New("workflow terminated")
Functions ¶
Types ¶
type Client ¶
type Client interface {
CreateWorkflowInstance(ctx context.Context, options WorkflowInstanceOptions, wf workflow.Workflow, args ...interface{}) (workflow.Instance, error)
CancelWorkflowInstance(ctx context.Context, instance workflow.Instance) error
WaitForWorkflowInstance(ctx context.Context, instance workflow.Instance, timeout time.Duration) error
SignalWorkflow(ctx context.Context, instanceID string, name string, arg interface{}) error
}
type WorkflowInstanceOptions ¶
type WorkflowInstanceOptions struct {
InstanceID string
}
Click to show internal directories.
Click to hide internal directories.