Skip to content
PACKAGES

openPersistentReactiveLog()

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

import { openPersistentReactiveLog } from "@graphrefly/ts/adapters";
function openPersistentReactiveLog(opts: OpenPersistentReactiveLogOptions<T>): Promise<PersistentReactiveLog<T>>
ParameterTypeDescription
optsOpenPersistentReactiveLogOptions<T>Options that configure the helper.

A Promise<PersistentReactiveLog<T>> value.

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

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