Table of Contents

Method Fixed

Namespace
Eon
Assembly
Eon.dll

Fixed(Duration, Func<DateTimeOffset>?)

Schedule that recurs on a fixed `interval`.

If the action run between updates takes longer than the `interval`, then the action will be run immediately, but re-runs will not "pile up".

|-----interval-----|-----interval-----|-----interval-----|
|---------action--------||action|-----|action|-----------|
[Pure]
public static Schedule Fixed(Duration interval, Func<DateTimeOffset>? currentTimeFunction = null)

Parameters

interval Duration

Schedule interval

currentTimeFunction Func<DateTimeOffset>

current time function

Returns

Schedule