GraphReFlyTS

API Reference

openPersistentReactiveLog()

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

Import

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

Signature

function openPersistentReactiveLog(opts: OpenPersistentReactiveLogOptions<T>): Promise<PersistentReactiveLog<T>>

Parameters

ParameterTypeDescription
optsOpenPersistentReactiveLogOptions<T>Options that configure the helper.

Returns

A Promise<PersistentReactiveLog<T>> value.

Example

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

Source

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