Skip to content
PACKAGES

loadReactiveMapState()

D161 passive load/fold scaffold for reactiveMap; synchronous policy restore is deferred.

import { loadReactiveMapState } from "@graphrefly/ts/storage";
function loadReactiveMapState(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveMapRestoreState<K, V>>
ParameterTypeDescription
optsLoadReactiveCollectionStateOptionsOptions that configure the helper.

A Promise<ReactiveMapRestoreState<K, V>> value.

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

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