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?)
Input for DelayAsync(DelayAsyncInput).
public DelayAsyncInput(TimeSpan Delay, CancellationToken? CancellationToken)
Parameters
Delay
TimeSpanDelay duration.
CancellationToken
CancellationToken?Optional cancellation token.
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; }