MCPcopy
hub / github.com/statelyai/xstate / get

Method get

packages/xstate-store/src/atom.ts:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 _snapshot: T;
18 _update(getValue?: T | ((snapshot: T) => T)): boolean;
19 get(): T;
20 subscribe(observerOrFn: Observer<T> | ((value: T) => void)): Subscription;
21}
22

Callers 15

useSelectorFunction · 0.80
index.test.tsxFile · 0.80
types.test.tsxFile · 0.80
atom.test.tsFile · 0.80
constructorMethod · 0.80
postMessageMethod · 0.80
closeMethod · 0.80
store.test.tsFile · 0.80
select.test.tsFile · 0.80
emitFunction · 0.80
onFunction · 0.80
getFunction · 0.80

Calls

no outgoing calls

Tested by 6

constructorMethod · 0.64
postMessageMethod · 0.64
closeMethod · 0.64
AppFunction · 0.64
AppFunction · 0.64
TestFunction · 0.64