loadReactiveIndexState()
D161 passive load/fold scaffold for reactiveIndex; key-codec restore is deferred.
Import
Section titled “Import”import { loadReactiveIndexState } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function loadReactiveIndexState(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveIndexRestoreState<K, V>>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | LoadReactiveCollectionStateOptions | Options that configure the helper. |
Returns
Section titled “Returns”A Promise<ReactiveIndexRestoreState<K, V>> value.
Example
Section titled “Example”import { loadReactiveIndexState } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/reactive-collection.ts