# IcicleStreamSource

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

Canonical: https://chart.syidax.com/ko/docs/types/IcicleStreamSource/

<a id="declaration"></a>

## 타입 선언

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

<a id="related"></a>

## 관련 타입

- [IcicleNodeInput](https://chart.syidax.com/ko/docs/types/IcicleNodeInput.md)
- [IcicleStreamEvent](https://chart.syidax.com/ko/docs/types/IcicleStreamEvent.md)
