MCPcopy
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.tsFile · 0.50
store.test.tsFile · 0.50
useSyncExternalStoreFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected