← Graph

Meaning of the projection sequence number

question 1 connections

Audience asks what the 'sequence' line in the projection sample code means. Answer: it's the event's position within its stream — effectively the version of the projection. You don't have to project to the final state; you can ask what state the entity had a year ago, or how code would react to the next event/command. The number just tells you where in the stream you are.

answer_summary
It's the event's position within its stream — a version number enabling time travel and step-by-step replay.
question Meaning of the projection sequence number
asked_at
Asked during Q&A.

Provenance

Read by
2 extractions