# ArraySource

`class` in `gateway` · v0.1.4

<https://docs.seedcord.org/packages/gateway/0.1.4/classes/array-source>

A source for a bounded list you can load whole. It loads the full list on every click, then slices the page, so the real total is known (a real last button, "Page X of Y"). Cache inside your loader if the load is expensive.

```ts
class ArraySource<Item> extends ArraySource<Item, PageContext>
```
