Class TemporalOperationStartContext
- Namespace
- Temporalio.Nexus
- Assembly
- Temporalio.dll
Context passed to the start function of a TemporalOperationHandler<TInput, TResult>.
public class TemporalOperationStartContext
- Inheritance
-
TemporalOperationStartContext
- Inherited Members
Remarks
WARNING: Nexus support is experimental.
Properties
CancellationToken
Gets the cancellation token for this start call (not operation cancellation).
public CancellationToken CancellationToken { get; }
Property Value
Headers
Gets the request headers (case-insensitive keys).
public IReadOnlyDictionary<string, string>? Headers { get; }
Property Value
InboundLinks
Gets the inbound links carrying caller information.
public IReadOnlyCollection<NexusLink> InboundLinks { get; }
Property Value
- IReadOnlyCollection<NexusLink>
Operation
Gets the Nexus operation name.
public string Operation { get; }
Property Value
OutboundLinks
Gets the mutable outbound links collection. Handlers and middleware may add to this.
public IList<NexusLink> OutboundLinks { get; }
Property Value
- IList<NexusLink>
RequestDeadline
Gets the deadline for the start call to complete, if any.
public DateTime? RequestDeadline { get; }
Property Value
RequestId
Gets the unique identifier for this start call, used for deduplication.
public string RequestId { get; }
Property Value
Service
Gets the Nexus service name.
public string Service { get; }