method

App.RunScheduledPublishes

func (application *App) RunScheduledPublishes( ctx context.Context, limit int, actor *store.Document, ) (int, error)

Claim and run a bounded publish batch.

Source core/publishing.go:138

@param ctx
The ctx value.
@param limit
The limit value.
@param actor
The actor value.
@returns
The declared result.

Execute normally runs this worker. Direct use is for explicit job runners and tests. Each publish rechecks revision and access.

Related types

  • App

    A resolved application bound to operation services.

  • Document

    A stored document with status and version metadata.