GraphReFlyTS

API Reference

openPersistentReactiveList()

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

Import

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

Signature

function openPersistentReactiveList(opts: OpenPersistentReactiveListOptions<T>): Promise<PersistentReactiveList<T>>

Parameters

ParameterTypeDescription
optsOpenPersistentReactiveListOptions<T>Options that configure the helper.

Returns

A Promise<PersistentReactiveList<T>> value.

Example

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

Source

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