Class ScheduleIntervalSpec
- Namespace
- Temporalio.Client.Schedules
- Assembly
- Temporalio.dll
Specification for scheduling on an interval. Matching times are expressed as
epoch + (n * every) + offset
.
public record ScheduleIntervalSpec : IEquatable<ScheduleIntervalSpec>
- Inheritance
-
ScheduleIntervalSpec
- Implements
- Inherited Members
Constructors
ScheduleIntervalSpec(TimeSpan, TimeSpan?)
Specification for scheduling on an interval. Matching times are expressed as
epoch + (n * every) + offset
.
public ScheduleIntervalSpec(TimeSpan Every, TimeSpan? Offset = null)
Parameters
Every
TimeSpanPeriod to repeat the interval.
Offset
TimeSpan?Fixed offset added to each interval period.
Properties
Every
Period to repeat the interval.
public TimeSpan Every { get; init; }
Property Value
Offset
Fixed offset added to each interval period.
public TimeSpan? Offset { get; init; }