MCPcopy Create free account
hub / github.com/Autodesk/react-base-table / fetchData

Function fetchData

website/src/examples/infinite-loading-loader.js:65–69  ·  view source on GitHub ↗
(offset = 0, limit = PAGE_SIZE)

Source from the content-addressed store, hash-verified

63 }
64
65 fetchData(offset = 0, limit = PAGE_SIZE) {
66 return delay(3000).then(() => {
67 return DATA.slice(offset, offset + limit)
68 })
69 }
70
71 loadData() {
72 this.fetchData(0, Math.random() < 0.2 ? 0 : PAGE_SIZE).then(data => {

Callers

nothing calls this directly

Calls 1

delayFunction · 0.85

Tested by

no test coverage detected