Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func YourWorkflow ¶
@@@SNIPSTART samples-go-cancellation-workflow-definition YourWorkflow is a Workflow Definition that shows how it can be canceled.
Types ¶
type Activities ¶
type Activities struct{}
@@@SNIPSTART samples-go-cancellation-activity-definition
func (*Activities) ActivityToBeCanceled ¶
func (a *Activities) ActivityToBeCanceled(ctx context.Context) (string, error)
func (*Activities) ActivityToBeSkipped ¶
func (a *Activities) ActivityToBeSkipped(ctx context.Context) error
func (*Activities) CleanupActivity ¶
func (a *Activities) CleanupActivity(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.