Enumeration: NexusOperationCancellationType
coresdk.nexus.NexusOperationCancellationType
Controls at which point to report back to lang when a nexus operation is cancelled
Enumeration Members
ABANDON
• ABANDON = 1
Do not request cancellation of the nexus operation if already scheduled
TRY_CANCEL
• TRY_CANCEL = 2
Initiate a cancellation request for the Nexus operation and immediately report cancellation 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. If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
WAIT_CANCELLATION_COMPLETED
• WAIT_CANCELLATION_COMPLETED = 0
Wait for operation cancellation completion. Default.
WAIT_CANCELLATION_REQUESTED
• WAIT_CANCELLATION_REQUESTED = 3
Request cancellation of the operation and wait for confirmation that the request was received.