API Reference
loadReactiveListState()
D161 passive load/fold for reactiveList; reads storage but never mutates graph topology.
Import
import { loadReactiveListState } from "@graphrefly/ts/storage";
Signature
function loadReactiveListState(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveListRestoreState<T>>
Parameters
| Parameter | Type | Description |
|---|---|---|
opts | LoadReactiveCollectionStateOptions | Options that configure the helper. |
Returns
A Promise<ReactiveListRestoreState<T>> value.
Example
import { loadReactiveListState } from "@graphrefly/ts/storage";
Source
packages/ts/src/storage/reactive-collection.ts