Skip to main content

Interface: 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: string | undefined

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


lastAttemptCompleteTime​

readonly lastAttemptCompleteTime: Date | undefined

The time when the last attempt completed.


lastAttemptFailure​

readonly lastAttemptFailure: Error | undefined

The last attempt's failure, if any.


nextAttemptScheduleTime​

readonly nextAttemptScheduleTime: Date | undefined

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: Date | undefined

The time when cancellation was requested.


state​

readonly state: NexusOperationCancellationState | undefined

The current state of the cancellation request.