We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6f8167 + cd41c30 commit 1a3fd84Copy full SHA for 1a3fd84
tester/tester.go
@@ -103,6 +103,12 @@ type WorkflowTester[TResult any] interface {
103
// OnSubWorkflowByName registers a mock sub-workflow with the given name.
104
OnSubWorkflowByName(name string, workflow workflow.Workflow, args ...interface{}) *mock.Call
105
106
+ // CancelWorkflow cancels the workflow under test.
107
+ CancelWorkflow()
108
+
109
+ // CancelWorkflowInstance cancels the given workflow instance.
110
+ CancelWorkflowInstance(wfi *core.WorkflowInstance) error
111
112
// SignalWorkflow signals the workflow under test with the given signal name and value.
113
SignalWorkflow(signalName string, value interface{})
114
0 commit comments