loadReactiveMapState()
D161 passive load/fold scaffold for reactiveMap; synchronous policy restore is deferred.
Import
Section titled “Import”import { loadReactiveMapState } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function loadReactiveMapState(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveMapRestoreState<K, V>>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | LoadReactiveCollectionStateOptions | Options that configure the helper. |
Returns
Section titled “Returns”A Promise<ReactiveMapRestoreState<K, V>> value.
Example
Section titled “Example”import { loadReactiveMapState } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/reactive-collection.ts