# Surface3DStreamSource

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

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

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

## Type declaration

```typescript
export interface Surface3DStreamSource {
  readonly length:number;readonly capacity:number;readonly dropped:number;readonly x:ReadonlyArray<number>;
  push(row:Surface3DRowInput):void;pushBatch(rows:ReadonlyArray<Surface3DRowInput>):void;
  shift(count:number):void;replace(rows:ReadonlyArray<Surface3DRowInput>):void;
  setCapacity(capacity:number):void;
  snapshot():Surface3DGrid;subscribe(listener:(event:Surface3DStreamEvent)=>void):()=>void;
}
```

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

## Related types

- [Surface3DRowInput](https://chart.syidax.com/docs/types/Surface3DRowInput.md)
- [Surface3DGrid](https://chart.syidax.com/docs/types/Surface3DGrid.md)
- [Surface3DStreamEvent](https://chart.syidax.com/docs/types/Surface3DStreamEvent.md)
