Table of Contents

Enum NexusOperationCancellationType

Namespace
Temporalio.Workflows
Assembly
Temporalio.dll

How a Nexus operation cancellation is treated by the workflow.

public enum NexusOperationCancellationType

Fields

Abandon = 1

Do not request cancellation of the nexus operation if already scheduled.

TryCancel = 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 WaitCancellationRequested.

WaitCancellationCompleted = 0

Wait for operation completion after cancellation requested.

WaitCancellationRequested = 3

Request cancellation of the operation and wait for confirmation that the request was received.