ProjectionRecord<S>: {
    state: Projection<S>;
    watermark: number;
}

Projection Record

Stored/cached/materialized state after projecting/reducing events from the stream following specific Projector logic

  • state the stored state with a unique identifier id
  • watermark the last projected event id

Type Parameters

Type declaration

  • Readonly state: Projection<S>
  • Readonly watermark: number

Generated using TypeDoc