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.
updateId
1 parent 25a7695 commit 4d87689Copy full SHA for 4d87689
packages/client/src/workflow-options.ts
@@ -66,6 +66,14 @@ export function compileWorkflowOptions<T extends WorkflowOptions>(options: T): W
66
}
67
68
export interface WorkflowUpdateOptions {
69
+ /**
70
+ * The Update Id, which is a unique-per-Workflow-Execution identifier for this Update.
71
+ *
72
+ * We recommend setting it to a meaningful business ID or idempotency key (like a request ID) passed from upstream. If
73
+ * it is not provided, it will be set to a random string by the Client. If the Server receives two Updates with the
74
+ * same Update Id to a Workflow Execution with the same Run Id, the second Update will return a handle to the first
75
+ * Update.
76
+ */
77
readonly updateId?: string;
78
79
0 commit comments