MCPcopy Create free account
hub / github.com/astercloud/aster / createPreservedState

Function createPreservedState

ui/src/composables/useStreamingState.ts:27–33  ·  view source on GitHub ↗

* Create initial preserved state

()

Source from the content-addressed store, hash-verified

25 * Create initial preserved state
26 */
27function createPreservedState(): PreservedState {
28 return {
29 scrollPositions: new Map(),
30 focusedElementId: null,
31 pendingInputValues: new Map(),
32 };
33}
34
35/**
36 * Global state store for all surfaces

Callers 1

getPreservedStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected