API REFERENCE

FunnelChartStreamSource

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

타입 선언

typescript
export interface FunnelChartStreamSource {
  push(section: FunnelSectionSpec): void;
  pushBatch(sections: ReadonlyArray<FunnelSectionSpec>): void;
  shift(count: number): void;
  replace(sections: ReadonlyArray<FunnelSectionSpec>): void;
  snapshot(window?: number): FunnelSectionSpec[];
  latest(): FunnelSectionSpec | undefined;
  subscribe(listener: (event: FunnelChartStreamEvent) => void): () => void;
  readonly length: number;
}