ScheduleSpecSyntax

zio.temporal.schedules.ScheduleSpecSyntax

Helper methods for creating schedules

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final def every(value: Duration): ZScheduleIntervalSpec

Creates a schedule interval.

Creates a schedule interval.

Value parameters

value

period to repeat the interval.

Attributes

final def range(from: Int = ..., to: Int = ..., by: Int = ...): ZScheduleRange

Create a inclusive range for a schedule match value.

Create a inclusive range for a schedule match value.

Value parameters

by

The step to take between each value. Default if unset or 0, is 1.

from

The inclusive start of the range

to

The inclusive end of the range. Default if unset or less than start is start.

Attributes

Concrete fields

final val allMonthDays: List[ZScheduleRange]

Default range set for all days in a month.

Default range set for all days in a month.

Attributes

final val allMonths: List[ZScheduleRange]

Default range set for all months in a year.

Default range set for all months in a year.

Attributes

final val allWeekDays: List[ZScheduleRange]

Default range set for all days in a week.

Default range set for all days in a week.

Attributes

Attributes

final val weekend: List[ZScheduleRange]

Default range set for weekend days.

Default range set for weekend days.

Attributes