type
PublicationScheduleOptions
PublicationScheduleOptions controls revision fencing and the saved display timezone. TimeZone is optional; it never changes the instant supplied in runAt.
Properties
| Property | Type | Description |
|---|---|---|
ExpectedRevision | int | ExpectedRevision rejects the task when the document changes before it runs. Zero captures the current revision when the task is created. |
TimeZone | string | TimeZone optionally retains the intended display zone without changing runAt. |
Full signature
type PublicationScheduleOptions struct {
// ExpectedRevision rejects the task when the document changes before it runs.
// Zero captures the current revision when the task is created.
ExpectedRevision int
// TimeZone optionally retains the intended display zone without changing runAt.
TimeZone string
}