Skip to content
PACKAGES

loadReactiveIndexState()

D161 passive load/fold scaffold for reactiveIndex; key-codec restore is deferred.

import { loadReactiveIndexState } from "@graphrefly/ts/storage";
function loadReactiveIndexState(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveIndexRestoreState<K, V>>
ParameterTypeDescription
optsLoadReactiveCollectionStateOptionsOptions that configure the helper.

A Promise<ReactiveIndexRestoreState<K, V>> value.

import { loadReactiveIndexState } from "@graphrefly/ts/storage";

packages/ts/src/storage/reactive-collection.ts