Skip to content

Commit

Permalink
Small docs tweaks. (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
robholland authored Oct 11, 2023
1 parent 1c576d0 commit 83199af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/workflow_testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ func (e *TestWorkflowEnvironment) SignalWorkflowSkippingWorkflowTask(name string
e.impl.signalWorkflow(name, input, false)
}

// SignalWorkflowByID sends signal to the currently running test workflow.
// SignalWorkflowByID signals a workflow by its ID.
func (e *TestWorkflowEnvironment) SignalWorkflowByID(workflowID, signalName string, input interface{}) error {
return e.impl.signalWorkflowByID(workflowID, signalName, input)
}
Expand All @@ -852,6 +852,7 @@ func (e *TestWorkflowEnvironment) QueryWorkflow(queryType string, args ...interf
return e.impl.queryWorkflow(queryType, args...)
}

// UpdateWorkflow sends an update to the currently running workflow.
func (e *TestWorkflowEnvironment) UpdateWorkflow(name string, id string, uc UpdateCallbacks, args ...interface{}) {
e.impl.updateWorkflow(name, id, uc, args...)
}
Expand Down

0 comments on commit 83199af

Please sign in to comment.