# SunburstStreamSource

The SunburstStreamSource type declaration and related types. Optional fields are marked with ?.

Canonical: https://chart.syidax.com/docs/types/SunburstStreamSource/

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

## Type declaration

```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;
}
```

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

## Related types

- [SunburstNodeInput](https://chart.syidax.com/docs/types/SunburstNodeInput.md)
- [SunburstStreamEvent](https://chart.syidax.com/docs/types/SunburstStreamEvent.md)
