Skip to content

Commit 0b0d5c4

Browse files
committed
minor updates on comments
1 parent d1619a2 commit 0b0d5c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/workflow/runtime/WorkflowRuntime.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)