# RangeSourceSnapshot (@salmonui/data)

> The RangeSourceSnapshot interface of @salmonui/data.

Canonical: https://salmonui.dev/docs/reference/data/RangeSourceSnapshot

```ts
import type { RangeSourceSnapshot } from '@salmonui/data';
```

Entry index: https://salmonui.dev/docs/reference/data (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data.md).

## Reference

Kind: interface

```ts
interface RangeSourceSnapshot<T> {
    readonly rows: readonly T[];
    readonly range: Range | null;
    readonly loading: boolean;
    readonly error: unknown;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rows` | `readonly rows: readonly T[];` |  | Rows of the last completed range (kept while the next one loads). |
| `range` | `readonly range: Range \| null;` |  | The range the rows belong to, or null before the first load. |
| `loading` | `readonly loading: boolean;` |  |  |
| `error` | `readonly error: unknown;` |  |  |
