Appearance
Home > @liquidrazor/list-display > createStreamSource
createStreamSource() function
Creates a streaming data source (e.g. SSE, WebSocket, RTSK, NDJSON).
Signature:
typescript
createStreamSource: <TRow = any, TRowId extends RowId = RowId>(options: StreamSourceOptions<TRow, TRowId>) => DataSource<TRow, TRowId>Parameters
Parameter | Type | Description |
|---|---|---|
options | StreamSourceOptions<TRow, TRowId> |
Returns:
DataSource<TRow, TRowId>