API REFERENCE

GanttStreamSource

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

타입 선언

typescript
export interface GanttStreamSource {
  readonly length:number;
  readonly capacity:number;
  readonly dropped:number;
  push(task:GanttTaskInput):void;
  pushBatch(tasks:ReadonlyArray<GanttTaskInput>):void;
  shift(count:number):void;
  replace(tasks:ReadonlyArray<GanttTaskInput>):void;
  snapshot():GanttDeclaration[];
  subscribe(listener:(event:GanttStreamEvent)=>void):()=>void;
}