Data change probe
get_data_versionPoll the store's global change counter and settings/files sub-counters to detect changes and decide whether to refetch app data. Optionally narrow the check to one collection.
Instructions
Internal: the widget runtime's change probe — the store's global change counter (seq) plus settings/files sub-counters, polled to decide whether to refetch. Not for the model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | No | narrow seq to this collection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq | Yes | ||
| files_version | Yes | ||
| schema_version | Yes | ||
| settings_version | Yes |