Skip to main content

initial_window

Function initial_window 

Source
pub fn initial_window(
    registered_at: DateTime<Utc>,
    period: Duration,
) -> Result<DateTime<Utc>, WorkloopError>
Expand description

The first cadence window after registration: registered_at + period.

ยงErrors

Refuses a period beyond the representable clock range.