You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/workflow.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,8 @@ const (
85
85
NexusOperationCancellationTypeAbandon
86
86
87
87
// NexusOperationCancellationTypeTryCancel - Initiate a cancellation request for the Nexus operation and immediately report cancellation
88
-
// to the caller.
88
+
// to the caller. Note that it doesn't guarantee that cancellation is delivered to the operation if calling workflow exits before the delivery is done.
89
+
// If you want to ensure that cancellation is delivered to the operation, use NexusOperationCancellationTypeWaitRequested.
89
90
NexusOperationCancellationTypeTryCancel
90
91
91
92
// NexusOperationCancellationTypeWaitRequested - Request cancellation of the Nexus operation and wait for confirmation that the request was received.
0 commit comments