Table of Contents

Method UpTo

Namespace
Eon
Assembly
Eon.dll

UpTo(Duration, Func<DateTimeOffset>?)

Schedule that will continue to emmit Zero until max Duration has passed.

[Pure]
public static Schedule UpTo(Duration max, Func<DateTimeOffset>? currentTimeFunction = null)

Parameters

max Duration

max Duration to run the Schedule for

currentTimeFunction Func<DateTimeOffset>

current time function

Returns

Schedule

Remarks

It behaves like a Forever with a deadline