InternalCurrent value snapshot, for useSyncExternalStore.
Push a new value. Re-renders subscribed indicators only; a no-op if the value is unchanged. Safe to call from outside React at any frequency.
InternalStore subscribe, for useSyncExternalStore.
A live scalar an axis indicator subscribes to, pushed imperatively from outside React — a WebSocket
onmessage, arequestAnimationFrameloop, a tick handler. Backed byuseSyncExternalStoreon the consuming indicator: calling LiveValue.set re-renders only the indicators subscribed to this value — never the chart tree, never a canvas repaint. This is the path for a value that ticks many times a second (a live last-price tag), set independently of the series' own last point.Create one with createLiveValue and pass it to
<YAxisIndicator source={…}>.