Skip to main content

Interface: NexusOperationExecutionCancellationInfo

client.NexusOperationExecutionCancellationInfo

Cancellation state for a standalone Nexus operation.

Properties

attempt

Readonly attempt: number

The number of attempts made to deliver the cancel operation request.


blockedReason

Readonly blockedReason: undefined | string

Blocked reason provides additional information if the cancellation state is NexusOperationCancellationState.BLOCKED.


lastAttemptCompleteTime

Readonly lastAttemptCompleteTime: undefined | Date

The time when the last attempt completed.


lastAttemptFailure

Readonly lastAttemptFailure: undefined | Error

The last attempt's failure, if any.


nextAttemptScheduleTime

Readonly nextAttemptScheduleTime: undefined | Date

The time when the next attempt is scheduled.


raw

Readonly raw: INexusOperationExecutionCancellationInfo

Underlying protobuf cancellation info.


reason

Readonly reason: string

The reason specified in the cancellation request.


requestedTime

Readonly requestedTime: undefined | Date

The time when cancellation was requested.


state

Readonly state: undefined | NexusOperationCancellationState

The current state of the cancellation request.