Very small lazy REST datasource.
It requests pages from: ${baseUrl}?pageIndex=<n>&pageSize=<size> and caches each page in memory after the first request.
${baseUrl}?pageIndex=<n>&pageSize=<size>
MDN Reference
Optional
Returns the total number of items, synchronously or asynchronously.
Returns the row object at the given index.
Zero-based index of the row to retrieve.
The row value, or a Promise that resolves to it.
Promise
Very small lazy REST datasource.
It requests pages from:
${baseUrl}?pageIndex=<n>&pageSize=<size>and caches each page in memory after the first request.