# TilemapStreamSource

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

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

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

## Type declaration

```typescript
export interface TilemapStreamSource {
  push(datum: TilemapDatum): void;
  pushBatch(datums: ReadonlyArray<TilemapDatum>): void;
  shift(count: number): void;
  replace(datums: ReadonlyArray<TilemapDatum>): void;
  snapshot(window?: number): TilemapDatum[];
  subscribe(listener: (event: TilemapStreamEvent) => void): () => void;
  readonly length: number;
}
```

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

## Related types

- [TilemapDatum](https://chart.syidax.com/docs/types/TilemapDatum.md)
- [TilemapStreamEvent](https://chart.syidax.com/docs/types/TilemapStreamEvent.md)
