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 4b784c4 + 83c631b commit cda33d4Copy full SHA for cda33d4
README.md
@@ -59,7 +59,7 @@ The worker is responsible for executing `Workflows` and `Activities`, both need
59
func runWorker(ctx context.Context, mb backend.Backend) {
60
w := worker.New(mb, nil)
61
62
- r.RegisterWorkflow(Workflow1)
+ w.RegisterWorkflow(Workflow1)
63
64
w.RegisterActivity(Activity1)
65
w.RegisterActivity(Activity2)
0 commit comments