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