File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ export default class WorkflowRuntime {
4848
4949 /**
5050 * Registers a Workflow implementation for handling orchestrations with a given name.
51- *
51+ * The name provided need not be same as workflow name.
52+ *
5253 * @param {string } name - The name or identifier for the registered Workflow.
5354 * @param {TWorkflow } workflow - The instance of the Workflow class being registered.
5455 */
@@ -79,6 +80,7 @@ export default class WorkflowRuntime {
7980
8081 /**
8182 * Registers an Activity object with a given name.
83+ * The name provided need not be same as WorkflowActivity name.
8284 *
8385 * @param {string } name - The name or identifier for the registered Activity.
8486 * @param {TWorkflowActivity<TInput, TOutput> } fn - The instance of the WorkflowActivity class being registered.
You can’t perform that action at this time.
0 commit comments