method
App.RunScheduledPublications
Claim and run a bounded publication batch.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
limit | int | The limit value. |
actor | *store.Document | The actor value. |
Returns
The declared result.
(int, error)How it works
Execute normally runs this worker. Direct use is for explicit job runners and tests. Each publication change rechecks revision and access.
Full signature
func (application *App) RunScheduledPublications(
ctx context.Context,
limit int,
actor *store.Document,
) (int, error)