Create and own a LiveSeries for the component's lifetime.
LiveSeries
Returns [live, snapshot]:
[live, snapshot]
live
onmessage
snapshot
TimeSeries
null
The LiveSeries is created once on mount. Changing options after mount has no effect — pass stable options (literal or top-level constant).
options
Optional
Create and own a
LiveSeriesfor the component's lifetime.Returns
[live, snapshot]:live— a stableLiveSeriesref. Push events into it from effects or callbacks (e.g. WebSocketonmessage).snapshot— a throttledTimeSeriesthat updates when new events arrive.nullwhen the series is empty.The
LiveSeriesis created once on mount. Changingoptionsafter mount has no effect — pass stable options (literal or top-level constant).