class documentation

class NexusOperationCancellationState(IntEnum): (source)

View In Hierarchy

State of a Nexus operation cancellation.

Warning

This API is experimental and unstable.

Constant BACKING_OFF Cancellation request has failed with a retryable error and is backing off before the next attempt.
Constant BLOCKED by circuit breaker.
Constant FAILED Cancellation request failed with a non-retryable error.
Constant SCHEDULED Cancellation request is in the queue waiting to be executed or is currently executing.
Constant SUCCEEDED Cancellation request succeeded.
Constant TIMED_OUT The associated operation timed out - exceeded the user supplied schedule-to-close timeout.
Constant UNSPECIFIED Default value, unspecified state.
BACKING_OFF = (source)

Cancellation request has failed with a retryable error and is backing off before the next attempt.

Value
int(temporalio.api.enums.v1.NexusOperationCancellationState.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF
)

by circuit breaker.

Value
int(temporalio.api.enums.v1.NexusOperationCancellationState.NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED
)

Cancellation request failed with a non-retryable error.

Value
int(temporalio.api.enums.v1.NexusOperationCancellationState.NEXUS_OPERATION_CANCELLATION_STATE_FAILED
)
SCHEDULED = (source)

Cancellation request is in the queue waiting to be executed or is currently executing.

Value
int(temporalio.api.enums.v1.NexusOperationCancellationState.NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED
)
SUCCEEDED = (source)

Cancellation request succeeded.

Value
int(temporalio.api.enums.v1.NexusOperationCancellationState.NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED
)
TIMED_OUT = (source)

The associated operation timed out - exceeded the user supplied schedule-to-close timeout.

Value
int(temporalio.api.enums.v1.NexusOperationCancellationState.NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT
)
UNSPECIFIED = (source)

Default value, unspecified state.

Value
int(temporalio.api.enums.v1.NexusOperationCancellationState.NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
)