method
LocalAPI.ListWindow
Read one count-free bounded unique-index range for reconciliation work.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | Request context. |
collection | string | Authored collection slug. |
options | ListWindowOptions | Unique-index range, projection, actor, and locale controls. |
Returns
At most Limit authorized documents plus an overflow indicator.
(store.Window, error)How it works
Requires collection read access to resolve to Allow and the adapter transaction to implement store.WindowTransaction.
Full signature
func (local *LocalAPI) ListWindow(
ctx context.Context,
collection string,
options ListWindowOptions,
) (store.Window, error)Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
ListWindowOptionsA count-free bounded unique-index range for background work.
WindowA count-free bounded range result.