MCPcopy
hub / github.com/LegendApp/legend-state / ObservablePrimitiveState

Interface ObservablePrimitiveState

src/ObservablePrimitive.ts:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { onChange } from './onChange';
6
7interface ObservablePrimitiveState {
8 _node: NodeValue;
9 toggle: () => void;
10}
11
12const fns: (keyof ObservablePrimitive<any>)[] = ['get', 'set', 'peek', 'onChange', 'toggle'];
13

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected