Method UpTo
- Namespace
- Eon
- Assembly
- Eon.dll
UpTo(Duration, Func<DateTimeOffset>?)
[Pure]
public static Schedule UpTo(Duration max, Func<DateTimeOffset>? currentTimeFunction = null)
Parameters
max
DurationcurrentTimeFunction
Func<DateTimeOffset>current time function
Returns
Remarks
It behaves like a Forever with a deadline