API REFERENCE
BarChartStreamSource
The BarChartStreamSource type declaration and related types. Optional fields are marked with ?.
Type declaration
export interface BarChartStreamSource {
push(value: number): void;
pushBatch(values: ReadonlyArray<number> | Float32Array): void;
shift(count: number): void;
replace(values: ReadonlyArray<number> | Float32Array): void;
snapshot(window?: number): Float32Array;
subscribe(listener: (event: BarChartStreamEvent) => void): () => void;
readonly length: number;
}