Skip to content
PACKAGES

loadReactiveLogState()

D161 passive load/fold for reactiveLog; reads storage but never mutates graph topology.

import { loadReactiveLogState } from "@graphrefly/ts/storage";
function loadReactiveLogState(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveLogRestoreState<T>>
ParameterTypeDescription
optsLoadReactiveCollectionStateOptionsOptions that configure the helper.

A Promise<ReactiveLogRestoreState<T>> value.

import { loadReactiveLogState } from "@graphrefly/ts/storage";

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