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