Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/statelyai/xstate
/ getSnapshot
Function
getSnapshot
packages/xstate-store/src/store.ts:377–379 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
375
sessionId: uniqueId(),
376
send,
377
getSnapshot() {
378
return
currentSnapshot;
379
},
380
get() {
381
return
atom.get();
382
},
Callers
3
fromStore.test.ts
File · 0.50
store.test.ts
File · 0.50
useSyncExternalStore
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected