openPersistentReactiveList()
D161 convenience wrapper: passive load, sync restoreReactiveList, then sidecar persist.
Import
Section titled “Import”import { openPersistentReactiveList } from "@graphrefly/ts/adapters";Signature
Section titled “Signature”function openPersistentReactiveList(opts: OpenPersistentReactiveListOptions<T>): Promise<PersistentReactiveList<T>>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | OpenPersistentReactiveListOptions<T> | Options that configure the helper. |
Returns
Section titled “Returns”A Promise<PersistentReactiveList<T>> value.
Example
Section titled “Example”import { openPersistentReactiveList } from "@graphrefly/ts/adapters";Source
Section titled “Source”packages/ts/src/adapters/reactive-collection-storage.ts