method
App.SchedulePublish
Queue a revision-fenced future publish.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
collection | string | The collection value. |
documentID | string | The documentID value. |
runAt | time.Time | The runAt value. |
options | PublicationScheduleOptions | The options value. |
identity | *AuthIdentity | The identity value. |
Returns
The declared result.
(store.ScheduledPublication, error)Full signature
func (application *App) SchedulePublish(
ctx context.Context,
collection,
documentID string,
runAt time.Time,
options PublicationScheduleOptions,
identity *AuthIdentity,
) (store.ScheduledPublication, error)Related types
AppA resolved application bound to operation services.
PublicationScheduleOptionsPublicationScheduleOptions controls revision fencing and the saved display timezone. TimeZone is optional; it never changes the instant supplied in runAt.
AuthIdentityAn exact authenticated collection and actor document.
ScheduledPublicationAdapter-neutral revision-fenced future publish record.