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.
1 parent 3bc00c8 commit 553a2a8Copy full SHA for 553a2a8
workflow/worker.go
@@ -119,6 +119,8 @@ type registerOptions struct {
119
120
type registerOption func(*registerOptions) error
121
122
+// RegisterWithName allows you to specify a custom name for the workflow or activity being registered.
123
+// Activities and Workflows registered without a explicit name will use the function name as the name.
124
func RegisterWithName(name string) registerOption {
125
return func(opts *registerOptions) error {
126
opts.Name = name
0 commit comments