Skip to content
PACKAGES

openPersistentReactiveList()

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

import { openPersistentReactiveList } from "@graphrefly/ts/adapters";
function openPersistentReactiveList(opts: OpenPersistentReactiveListOptions<T>): Promise<PersistentReactiveList<T>>
ParameterTypeDescription
optsOpenPersistentReactiveListOptions<T>Options that configure the helper.

A Promise<PersistentReactiveList<T>> value.

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

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