Skip to content

Commit df05d05

Browse files
Mark Nexus operation cancellation type as Experimental. (#1960)
1 parent 71ce2dc commit df05d05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/workflow.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ const (
7272
// NexusOperationCancellationType specifies what action should be taken for a Nexus operation when the
7373
// caller is cancelled.
7474
//
75+
// NOTE: Experimental
76+
//
7577
// Exposed as: [go.temporal.io/sdk/workflow.NexusOperationCancellationType]
7678
type NexusOperationCancellationType int
7779

@@ -2665,6 +2667,8 @@ type NexusOperationOptions struct {
26652667
// CancellationType - Indicates what action should be taken when the caller is cancelled.
26662668
//
26672669
// Optional: defaults to NexusOperationCancellationTypeWaitCompleted.
2670+
//
2671+
// NOTE: Experimental
26682672
CancellationType NexusOperationCancellationType
26692673

26702674
// Summary is a single-line fixed summary for this Nexus Operation that will appear in UI/CLI. This can be

0 commit comments

Comments
 (0)