API reference: @salmonui/data
RangeSourceSnapshotinterface
import type { RangeSourceSnapshot } from '@salmonui/data';interface RangeSourceSnapshot<T> {
readonly rows: readonly T[];
readonly range: Range | null;
readonly loading: boolean;
readonly error: unknown;
}
| Name | Signature | 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; |