Module: Temporalio::Workflow::NexusOperationCancellationType
- Defined in:
- lib/temporalio/workflow/nexus_operation_cancellation_type.rb
Overview
How a Nexus operation should handle cancellation.
WARNING: Nexus support is experimental.
Constant Summary collapse
- WAIT_CANCELLATION_COMPLETED =
Wait for cancellation to complete (default).
Internal::Bridge::Api::Nexus::NexusOperationCancellationType::WAIT_CANCELLATION_COMPLETED
- ABANDON =
Abandon the operation without sending a cancellation request.
Internal::Bridge::Api::Nexus::NexusOperationCancellationType::ABANDON
- TRY_CANCEL =
Send a cancellation request but do not wait for confirmation.
Internal::Bridge::Api::Nexus::NexusOperationCancellationType::TRY_CANCEL
- WAIT_CANCELLATION_REQUESTED =
Wait for the server to confirm the cancellation request was delivered.
Internal::Bridge::Api::Nexus::NexusOperationCancellationType::WAIT_CANCELLATION_REQUESTED