Skip to content
PACKAGES

openPersistentReactiveIndex()

D161 convenience wrapper: passive load, sync restoreReactiveIndex, then sidecar persist.

import { openPersistentReactiveIndex } from "@graphrefly/ts/adapters";
function openPersistentReactiveIndex(opts: OpenPersistentReactiveIndexOptions<K, V>): Promise<PersistentReactiveIndex<K, V>>
ParameterTypeDescription
optsOpenPersistentReactiveIndexOptions<K, V>Options that configure the helper.

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

import { openPersistentReactiveIndex } from "@graphrefly/ts/adapters";

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