Type parameter | Description |
---|---|
QueryType |
see DataQuery |
ItemType |
see DataQuery |
Specfies the fetch logic, which is essentially a Task action. This should resolve to a standardized FetchResultWithStats structure, or a plain array of your items, or a falsy value to indicate that the fetch encountered an error.
You should also take advantage of the TaskHelpers to cancel fetch attempts properly and not e.g. leave your AJAX request implementation hanging.
Note that the fetch action cannot currently report progress.
Specifies the upper limit of items that should be fetched. This gets passed back to the fetch as the query, but will also affect the behavior of fetchMore.
Debug-friendly name that can be back-queried from the state instance.
Generated using TypeDoc
Describes how the DataQuery is customized.