Skip to content

Commit a1797ef

Browse files
committed
Update readme
1 parent 746569d commit a1797ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ func Workflow(ctx workflow.Context) error {
352352
353353
```go
354354
func Workflow(ctx workflow.Context) error {
355-
if err := workflow.SignalWorkflow(ctx, "sub-instance-id", "signal-name", "value"); err != nil {
355+
if _, err := workflow.SignalWorkflow(ctx, "sub-instance-id", "signal-name", "value").Get(ctx); err != nil {
356356
// Handle error
357357
}
358358
}

0 commit comments

Comments
 (0)