hacifootprint
hcifootprintInterfaces

LiveActionStore

Interface: LiveActionStore

Defined in: src/graph/sources/types.ts:104

The smallest respectable store contract — subscribe + read-current, the shape React itself blesses (useSyncExternalStore). Any app store that can say "here are my actions now" and "something changed" satisfies it.

Methods

actions()

actions(): LiveAction[]

Defined in: src/graph/sources/types.ts:106

Returns

LiveAction[]


subscribe()

subscribe(onChange): () => void

Defined in: src/graph/sources/types.ts:105

Parameters

onChange

() => void

Returns

() => void

On this page