Skip to content

Commit 07c5fe9

Browse files
committed
Make SignalWorkflow comment clearer
1 parent b291807 commit 07c5fe9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/backend.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ type Backend interface {
3434
GetWorkflowInstanceHistory(ctx context.Context, instance *workflow.Instance, lastSequenceID *int64) ([]history.Event, error)
3535

3636
// SignalWorkflow signals a running workflow instance
37+
//
38+
// If the given instance does not exist, it will return an error
3739
SignalWorkflow(ctx context.Context, instanceID string, event history.Event) error
3840

3941
// GetWorkflowInstance returns a pending workflow task or nil if there are no pending worflow executions

0 commit comments

Comments
 (0)