# CalendarHeatmapStreamSource

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

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

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

## Type declaration

```typescript
export interface CalendarHeatmapStreamSource {
  push(entry: CalendarHeatmapEntry): void;
  pushBatch(entries: ReadonlyArray<CalendarHeatmapEntry>): void;
  shift(count: number): void;
  replace(entries: ReadonlyArray<CalendarHeatmapEntry>): void;
  snapshot(): CalendarHeatmapEntry[];
  latest(): CalendarHeatmapEntry | undefined;
  subscribe(listener: (event: CalendarHeatmapStreamEvent) => void): () => void;
  readonly length: number;
  readonly capacity: number;
  readonly dropped: number;
}
```

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

## Related types

- [CalendarHeatmapEntry](https://chart.syidax.com/docs/types/CalendarHeatmapEntry.md)
- [CalendarHeatmapStreamEvent](https://chart.syidax.com/docs/types/CalendarHeatmapStreamEvent.md)
