Class NexusOperationExecutionDescription
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Description of a standalone Nexus operation execution from a describe call.
public class NexusOperationExecutionDescription : NexusOperationExecution
- Inheritance
-
NexusOperationExecutionDescription
- Inherited Members
Remarks
WARNING: Standalone Nexus operations are experimental.
Constructors
NexusOperationExecutionDescription(DescribeNexusOperationExecutionResponse, string, DataConverter)
Initializes a new instance of the NexusOperationExecutionDescription class.
protected NexusOperationExecutionDescription(DescribeNexusOperationExecutionResponse rawDescription, string clientNamespace, DataConverter dataConverter)
Parameters
rawDescriptionDescribeNexusOperationExecutionResponseRaw proto description.
clientNamespacestringClient namespace.
dataConverterDataConverterData converter.
Remarks
WARNING: This constructor may be mutated in backwards incompatible ways.
Properties
Attempt
Gets the current attempt number, starting at 1.
public int Attempt { get; }
Property Value
BlockedReason
Gets the blocked reason if the state is blocked.
public string? BlockedReason { get; }
Property Value
ExpirationTime
Gets the scheduled time plus schedule-to-close timeout.
public DateTime? ExpirationTime { get; }
Property Value
LastAttemptCompleteTime
Gets when the last attempt completed.
public DateTime? LastAttemptCompleteTime { get; }
Property Value
LongPollToken
Gets the token for follow-on long-poll requests, or null if the operation is complete.
public byte[]? LongPollToken { get; }
Property Value
- byte[]
NextAttemptScheduleTime
Gets when the next attempt will be scheduled.
public DateTime? NextAttemptScheduleTime { get; }
Property Value
OperationToken
Gets the operation token for async operations after a successful StartOperation call.
public string? OperationToken { get; }
Property Value
RequestId
Gets the server-generated request ID used as an idempotency token.
public string? RequestId { get; }
Property Value
ScheduleToCloseTimeout
Gets the schedule-to-close timeout.
public TimeSpan? ScheduleToCloseTimeout { get; }
Property Value
State
Gets the more detailed state if the operation status is running.
public PendingNexusOperationState State { get; }
Property Value
Methods
GetStaticDetailsAsync()
Gets the general fixed details for this operation that may appear in UI/CLI. This can be in Temporal markdown format and can span multiple lines.
public Task<string?> GetStaticDetailsAsync()
Returns
Remarks
WARNING: Standalone Nexus operations are experimental.
GetStaticSummaryAsync()
Gets the single-line fixed summary for this operation that may appear in UI/CLI. This can be in single-line Temporal markdown format.
public Task<string?> GetStaticSummaryAsync()