ScheduleRuleUnion
PackageFCQRS.Workflows
When a schedule is due, written `ScheduleRule.Daily`, `ScheduleRule.Weekly` or `ScheduleRule.Every`.
A rule is stored in the schedule's journal, so its cases and fields are a persistent contract.
Specification
Kind
Union
Members
6
Examples
0
IsWeeklySignature
this.IsWeekly
IsDailySignature
this.IsDaily
IsEverySignature
this.IsEvery
DailySignature
Daily(time, zone)
WeeklySignature
Weekly(days, time, zone)
Summary
| Name | Signature | Synopsis |
|---|---|---|
| IsWeekly | this.IsWeekly | No description available. |
| IsDaily | this.IsDaily | No description available. |
| IsEvery | this.IsEvery | No description available. |
| Daily | Daily(time, zone) | Every day at a local time in a time zone. |
| Weekly | Weekly(days, time, zone) | On the listed days of the week at a local time in a time zone. |
| Every | Every interval | Every interval, counted from the schedule's creation or last change. |
Every day at a local time in a time zone. The zone is a time-zone ID such as "Europe/Oslo".
Parameters
| Name | Type | Description |
|---|---|---|
| time | TimeOnly | |
| zone | string |
Returns
unit
On the listed days of the week at a local time in a time zone.
Parameters
| Name | Type | Description |
|---|---|---|
| days | DayOfWeek list | |
| time | TimeOnly | |
| zone | string |
Returns
unit