CandleClock.next_expiry

You're seeing just the function next_expiry, go back to CandleClock module for more information.
Link to this function

next_expiry(timer, date \\ DateTime.utc_now())

View Source

Specs

next_expiry(struct(), DateTime.t()) :: {:ok, DateTime.t()} | {:error, any()}

Calculates the next expiry date for the given timer from the given date onwards.

Returns {:ok, datetime} or an error-tuple