Skip to content

Commit af45f61

Browse files
authored
Merge pull request #102 from JasonEtco/patch-1
Tiny doc fix
2 parents f33ad42 + e09046f commit af45f61

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
@@ -339,7 +339,7 @@ func Workflow(ctx workflow.Context) error {
339339

340340
// Pause workflow until signal is received
341341
workflow.Select(ctx,
342-
workflow.Receive(, func(ctx workflow.Context, r string, ok bool) {
342+
workflow.Receive(signalCh, func(ctx workflow.Context, r string, ok bool) {
343343
logger.Debug("Received signal:", r)
344344
}),
345345
)

0 commit comments

Comments
 (0)