@@ -136,6 +136,7 @@ type (
136
136
// - workflow ID of the workflow.
137
137
// - runID can be default(empty string). if empty string then it will pick the running execution of that workflow ID.
138
138
// - signalName name to identify the signal.
139
+ // - arg is the data (or nil) to send with the signal, which can be read with the signal channel's Receive out-arg.
139
140
// The errors it can return:
140
141
// - EntityNotExistsError
141
142
// - InternalServiceError
@@ -209,7 +210,7 @@ type (
209
210
// The activity can fail with below errors ErrorWithDetails, TimeoutError, CanceledError.
210
211
CompleteActivity (ctx context.Context , taskToken []byte , result interface {}, err error ) error
211
212
212
- // CompleteActivityById reports activity completed.
213
+ // CompleteActivityByID reports activity completed.
213
214
// Similar to CompleteActivity, but may save cadence user from keeping taskToken info.
214
215
// activity Execute method can return activity.ErrResultPending to
215
216
// indicate the activity is not completed when it's Execute method returns. In that case, this CompleteActivityById() method
@@ -317,7 +318,7 @@ type (
317
318
// - workflowID is required.
318
319
// - runID can be default(empty string). if empty string then it will pick the running execution of that workflow ID.
319
320
// - queryType is the type of the query.
320
- // - args... are the optional query parameters.
321
+ // - args... are the optional query parameters, which will be sent to your query handler function's args .
321
322
// The errors it can return:
322
323
// - BadRequestError
323
324
// - InternalServiceError
0 commit comments