Skip to content

Commit

Permalink
chore: Remove "experimental" notices from update APIs (#1590)
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison authored Dec 18, 2024
1 parent dd4da0d commit 0cd8980
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions packages/client/src/interceptors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ export interface WorkflowClientInterceptor {
start?: (input: WorkflowStartInput, next: Next<this, 'start'>) => Promise<string /* runId */>;
/**
* Intercept a service call to updateWorkflowExecution
*
* @experimental Update is an experimental feature.
*/
startUpdate?: (
input: WorkflowStartUpdateInput,
Expand Down
4 changes: 0 additions & 4 deletions packages/client/src/workflow-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ export interface WorkflowHandle<T extends Workflow = Workflow> extends BaseWorkf
/**
* Start an Update and wait for the result.
*
* @experimental Update is an experimental feature.
*
* @throws {@link WorkflowUpdateFailedError} if Update validation fails or if ApplicationFailure is thrown in the Update handler.
* @throws {@link WorkflowUpdateRPCTimeoutOrCancelledError} if this Update call timed out or was cancelled. This doesn't
* mean the update itself was timed out or cancelled.
Expand All @@ -152,8 +150,6 @@ export interface WorkflowHandle<T extends Workflow = Workflow> extends BaseWorkf
* Start an Update and receive a handle to the Update. The Update validator (if present) is run
* before the handle is returned.
*
* @experimental Update is an experimental feature.
*
* @throws {@link WorkflowUpdateFailedError} if Update validation fails.
* @throws {@link WorkflowUpdateRPCTimeoutOrCancelledError} if this Update call timed out or was cancelled. This doesn't
* mean the update itself was timed out or cancelled.
Expand Down
2 changes: 0 additions & 2 deletions packages/workflow/src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ export interface UnsafeWorkflowInfo {

/**
* Information about a workflow update.
*
* @experimental
*/
export interface UpdateInfo {
/**
Expand Down
2 changes: 0 additions & 2 deletions packages/workflow/src/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,6 @@ export function workflowInfo(): WorkflowInfo {
*
* @return Info for the current update handler the code calling this is executing
* within if any.
*
* @experimental
*/
export function currentUpdateInfo(): UpdateInfo | undefined {
assertInWorkflowContext('Workflow.currentUpdateInfo(...) may only be used from a Workflow Execution.');
Expand Down

0 comments on commit 0cd8980

Please sign in to comment.