API REFERENCE

HeatmapStreamSource

HeatmapStreamSource 타입 선언과 관련 타입입니다. 선택 필드는 ?로 표시됩니다.

타입 선언

typescript
export interface HeatmapStreamSource {
  push(cell: HeatmapDatum | HeatmapTuple): void;
  pushBatch(cells: ReadonlyArray<HeatmapDatum | HeatmapTuple>): void;
  shift(count: number): void;
  replace(cells: ReadonlyArray<HeatmapDatum | HeatmapTuple>): void;
  snapshot(): HeatmapDatum[];
  latest(): HeatmapDatum | undefined;
  subscribe(listener: (event: HeatmapStreamEvent) => void): () => void;
  readonly length: number;
  readonly capacity: number;
}