charton API / @chart-on/core / index / createWebSocketDataSource
Function: createWebSocketDataSource()
createWebSocketDataSource(
options):DataSource
Defined in: packages/core/src/data/adapters.ts:299
Live bars over one shared WebSocket. Reconnects with exponential backoff and resubscribes every active stream when the connection comes back. Reports the connection through onStatus, so the chart refetches missed bars.