Class DelayAsyncInput
- Namespace
- Temporalio.Worker.Interceptors
- Assembly
- Temporalio.dll
Input for DelayAsync(DelayAsyncInput).
public record DelayAsyncInput : IEquatable<DelayAsyncInput>
- Inheritance
-
DelayAsyncInput
- Implements
- Inherited Members
Remarks
WARNING: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
Constructors
DelayAsyncInput(TimeSpan, CancellationToken?, string?, IReadOnlyCollection<EventGroup>?)
Input for DelayAsync(DelayAsyncInput).
public DelayAsyncInput(TimeSpan Delay, CancellationToken? CancellationToken, string? Summary, IReadOnlyCollection<EventGroup>? EventGroups)
Parameters
DelayTimeSpanDelay duration.
CancellationTokenCancellationToken?Optional cancellation token.
SummarystringSummary for the delay.
EventGroupsIReadOnlyCollection<EventGroup>Event Groups from EventGroups. WARNING: Event Groups are experimental.
Remarks
WARNING: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
Properties
CancellationToken
Optional cancellation token.
public CancellationToken? CancellationToken { get; init; }
Property Value
Delay
Delay duration.
public TimeSpan Delay { get; init; }
Property Value
EventGroups
Event Groups from EventGroups. WARNING: Event Groups are experimental.
public IReadOnlyCollection<EventGroup>? EventGroups { get; init; }
Property Value
Summary
Summary for the delay.
public string? Summary { get; init; }