API REFERENCE

SunburstStreamSource

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

타입 선언

typescript
export interface SunburstStreamSource {
  readonly length: number;
  readonly capacity: number;
  readonly dropped: number;
  push(node: SunburstNodeInput): void;
  pushBatch(nodes: ReadonlyArray<SunburstNodeInput>): void;
  shift(count: number): void;
  replace(nodes: ReadonlyArray<SunburstNodeInput>): void;
  snapshot(): SunburstNodeInput[];
  subscribe(listener: (event: SunburstStreamEvent) => void): () => void;
}