Interface: Cell()<T>
Defined in: cell.ts:103
Type Parameters
T
T
Cell():
T
Defined in: cell.ts:110
The reactive read. Inside tracked scopes it throws NotReadyError before the first value and while a newer run is pending — which is precisely how downstream consumers hold and stay glitch-free. For UI that should keep rendering the previous value, read latest() instead.
Returns
T
Properties
cellName?
optionalcellName?:string
Defined in: cell.ts:130
Identity for attribution (see CellOptions.name). Named cellName because a cell is callable, and assigning to a function's name throws — the built-in Function.name is read-only (a paid-for finding: before the rename, every data-cell stamp read "read", the internal closure's inferred function name).
description?
optionaldescription?:string
Defined in: cell.ts:134
Human description (compiler-lifted from the doc comment, or explicit).
error
error:
Accessor<unknown>
Defined in: cell.ts:116
latest
latest:
Accessor<T|undefined>
Defined in: cell.ts:112
Last value produced by any run (kept across errors); never throws.
loading
loading:
Accessor<boolean>
Defined in: cell.ts:115
True while pending, streaming, or refreshing.
loc?
optionalloc?:string
Defined in: cell.ts:132
Definition site "file:line".
progress
progress:
Accessor<number|undefined>
Defined in: cell.ts:118
Progress of the current run in [0, 1], or undefined if not reported.
refetch
refetch: () =>
void
Defined in: cell.ts:122
Re-run: error-boundary reset when errored, refresh(memo) otherwise.
Returns
void
settled
settled:
Accessor<boolean>
Defined in: cell.ts:120
False while the current run is still producing values.
state
state:
Accessor<CellState>
Defined in: cell.ts:113